#284F99#284F99
#284F99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.129 H 261.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #284F99 |
|---|---|
| RGB | rgb(40, 79, 153) |
| HSL | hsl(219, 59%, 38%) |
| HSV | hsv(219, 74%, 60%) |
| CMYK | cmyk(73.9%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(34.69, 12.91, -44.53) |
| CIE-LCH | lch(34.69, 46.36, 286.17°) |
| OKLab | oklab(44.12% -0.0185 -0.1277) |
| OKLCH | oklch(44.12% 0.129 261.7) |
| XYZ | xyz(9.4188, 8.3420, 31.2446) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.52
Dusk Blue
#26538D
ΔE00 2.74
Cobalt
#0047AB
ΔE00 3.70
Sapphire
#0F52BA
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 4.26
Light Navy
#155084
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F99 #997228
analogous
#288799 #284F99 #392899
triadic
#284F99 #99284F #4F9928
tetradic
#284F99 #992887 #997228 #289939
square
#284F99 #992887 #997228 #289939
split-complementary
#284F99 #993928 #879928
monochromatic
#0F1D38 #1B3668 #284F99 #3568CA #658CD7
Accessibility & contrast
On white
7.87
#284F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#284F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F99
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F99 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#084D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #284f99; /* rgb */ color: rgb(40, 79, 153); /* oklch */ color: oklch(44.1% 0.129 261.7);
Tailwind
colors: {
custom: {
50: '#717fb7',
500: '#284f99',
950: '#000000',
},
}SCSS
$custom: #284f99; $custom-light: #717fb7; $custom-dark: #000000;
JSON
{
"hex": "#284f99",
"rgb": {
"r": 40,
"g": 79,
"b": 153
},
"hsl": {
"h": 219.292,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.44121,
"c": 0.12908,
"h": 261.7
},
"luminance": 0.08343
}Semantic roles & 50–950 ramp
primary
#284F99
secondary
#BD9D60
accent
#AC46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80