#284F96#284F96
#284F96 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.125 H 261.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #284F96 |
|---|---|
| RGB | rgb(40, 79, 150) |
| HSL | hsl(219, 58%, 37%) |
| HSV | hsv(219, 73%, 59%) |
| CMYK | cmyk(73.3%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.49, 11.74, -43.03) |
| CIE-LCH | lch(34.49, 44.61, 285.26°) |
| OKLab | oklab(43.9% -0.019 -0.1233) |
| OKLCH | oklch(43.9% 0.125 261.2) |
| XYZ | xyz(9.1741, 8.2441, 29.9560) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.36
Dusk Blue
#26538D
ΔE00 2.43
Cobalt
#0047AB
ΔE00 3.98
Denim Blue
#3B5B92
ΔE00 4.18
Light Navy
#155084
ΔE00 4.43
Sapphire
#0F52BA
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F96 #966F28
analogous
#288696 #284F96 #382896
triadic
#284F96 #96284F #4F9628
tetradic
#284F96 #962886 #966F28 #289638
square
#284F96 #962886 #966F28 #289638
split-complementary
#284F96 #963828 #869628
monochromatic
#0E1C35 #1B3666 #284F96 #3568C6 #638CD5
Accessibility & contrast
On white
7.93
#284F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#284F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F96
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F96 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5699
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284f96; /* rgb */ color: rgb(40, 79, 150); /* oklch */ color: oklch(43.9% 0.125 261.2);
Tailwind
colors: {
custom: {
50: '#717fb5',
500: '#284f96',
950: '#000000',
},
}SCSS
$custom: #284f96; $custom-light: #717fb5; $custom-dark: #000000;
JSON
{
"hex": "#284f96",
"rgb": {
"r": 40,
"g": 79,
"b": 150
},
"hsl": {
"h": 218.727,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.43904,
"c": 0.1248,
"h": 261.2
},
"luminance": 0.08245
}Semantic roles & 50–950 ramp
primary
#284F96
secondary
#BB9A5F
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80