# #284e87 color: Night Mode

#284e87 is rgb(40, 78, 135) in RGB and oklch(42.636% 0.10445 258.383) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/284e87

## Formats

| Format | Value |
| --- | --- |
| HEX | #284e87 |
| RGB | rgb(40, 78, 135) |
| HSL | hsl(216, 54.29%, 34.31%) |
| HSB / HSV | hsv(216 70.37% 52.94%) |
| HWB | hwb(216 15.69% 47.06%) |
| CMYK | cmyk(70% 42% 0% 47%) |
| Lab | lab(32.71 1.83 -36.58) |
| LCH | lch(32.71 36.62 272.86) |
| OKLab | oklab(42.636% -0.02103 -0.10231) |
| OKLCH | oklch(42.636% 0.10445 258.383) |
| Display P3 | color(display-p3 0.19304 0.30226 0.51322) |
| Rec. 2020 | color(rec2020 0.18337 0.24189 0.46144) |
| Adobe RGB | color(a98-rgb 0.223 0.31016 0.51808) |
| ProPhoto RGB | color(prophoto-rgb 0.22904 0.23796 0.43012) |
| Linear sRGB | color(srgb-linear 0.02122 0.07619 0.24228) |
| XYZ D65 | color(xyz-d65 0.07972 0.07649 0.23979) |
| XYZ D50 | color(xyz-d50 0.07326 0.07402 0.1807) |
| SwiftUI | Color(red: 0.157, green: 0.306, blue: 0.529) |
| UIKit | UIColor(red: 0.157, green: 0.306, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF284E87) |
| Android XML | #284E87 |

## Facts

- Closest name: Night Mode
- Hue family: Blue, soft dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.3:1
- Contrast with black: 2.53:1

## Tints

#284e87, #3c5f93, #50709f, #6581ac, #7a92b8, #8fa4c4, #a4b6d0, #bac8db, #d1dae7, #e8ecf3

## Shades

#284e87, #214375, #1b3863, #152d51, #0f2341, #091931, #040f21, #020713, #010206, #000001

## Tones

#284e87, #2d4f82, #314f7c, #354f77, #394f71, #3d506c, #415066, #445060, #484f5a, #4b4f55

## Harmonies

- Complementary: #284e87, #6d4600
- Split: #284e87, #7b3a10, #555200
- Analogous: #284e87, #00587b, #4d4384
- Triadic: #284e87, #7e3338, #2e5c1e
- Tetradic: #284e87, #663a73, #6d4600, #2e5c1e
- Square: #284e87, #773458, #6d4600, #006044
- Monochromatic: #284e87, #000b40, #062d63, #4971ad, #6c95d4

## Questions about #284e87

### What color is #284e87?

#284e87 is soft dark blue. The closest named color is Night Mode. In RGB it is rgb(40, 78, 135), in HSL hsl(216, 54.29%, 34.31%) and in OKLCH oklch(42.636% 0.10445 258.383).

### What colors go well with #284e87?

The complementary color of #284e87 is #6d4600. For a calmer combination use the analogous colors #00587b and #4d4384. The triadic partners are #7e3338 and #2e5c1e.

### Is white or black text more readable on #284e87?

White text reads better on #284e87: white gives a contrast ratio of 8.3:1 and black gives 2.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #284e87 a warm or cool color?

#284e87 is a cool color. In OKLCH its hue is 258 degrees, its lightness 42.6% and its chroma 0.104.
