#284E97#284E97
#284E97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.127 H 261.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #284E97 |
|---|---|
| RGB | rgb(40, 78, 151) |
| HSL | hsl(219, 58%, 37%) |
| HSV | hsv(219, 74%, 59%) |
| CMYK | cmyk(73.5%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(34.26, 12.80, -44.00) |
| CIE-LCH | lch(34.26, 45.83, 286.22°) |
| OKLab | oklab(43.75% -0.0179 -0.1262) |
| OKLCH | oklch(43.75% 0.127 261.9) |
| XYZ | xyz(9.1834, 8.1333, 30.3581) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.17
Dusk Blue
#26538D
ΔE00 2.84
Cobalt
#0047AB
ΔE00 3.69
Denim Blue
#3B5B92
ΔE00 4.49
Sapphire
#0F52BA
ΔE00 4.53
Light Navy
#155084
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284E97 #977128
analogous
#288697 #284E97 #392897
triadic
#284E97 #97284E #4E9728
tetradic
#284E97 #972886 #977128 #289739
square
#284E97 #972886 #977128 #289739
split-complementary
#284E97 #973928 #869728
monochromatic
#0E1C36 #1B3567 #284E97 #3567C7 #648BD6
Accessibility & contrast
On white
7.99
#284E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#284E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284E97
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284E97 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284e97; /* rgb */ color: rgb(40, 78, 151); /* oklch */ color: oklch(43.8% 0.127 261.9);
Tailwind
colors: {
custom: {
50: '#717fb6',
500: '#284e97',
950: '#000000',
},
}SCSS
$custom: #284e97; $custom-light: #717fb6; $custom-dark: #000000;
JSON
{
"hex": "#284e97",
"rgb": {
"r": 40,
"g": 78,
"b": 151
},
"hsl": {
"h": 219.459,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.43751,
"c": 0.12748,
"h": 261.9
},
"luminance": 0.08134
}Semantic roles & 50–950 ramp
primary
#284E97
secondary
#BC9C5F
accent
#AC46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80