#284E9F#284E9F
#284E9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.139 H 263.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #284E9F |
|---|---|
| RGB | rgb(40, 78, 159) |
| HSL | hsl(221, 60%, 39%) |
| HSV | hsv(221, 75%, 62%) |
| CMYK | cmyk(74.8%, 50.9%, 0%, 37.6%) |
| CIE-LAB | lab(34.81, 15.90, -47.95) |
| CIE-LCH | lch(34.81, 50.52, 288.35°) |
| OKLab | oklab(44.35% -0.0168 -0.1378) |
| OKLCH | oklch(44.35% 0.139 263.1) |
| XYZ | xyz(9.8552, 8.4020, 33.8965) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.01
Sapphire
#0F52BA
ΔE00 3.66
Dusk Blue
#26538D
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 4.80
Light Navy
#155084
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284E9F #9F7928
analogous
#288A9F #284E9F #3D289F
triadic
#284E9F #9F284E #4E9F28
tetradic
#284E9F #9F288A #9F7928 #289F3D
square
#284E9F #9F288A #9F7928 #289F3D
split-complementary
#284E9F #9F3D28 #8A9F28
monochromatic
#0F1E3D #1C366E #284E9F #3767CD #688CD9
Accessibility & contrast
On white
7.83
#284E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#284E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284E9F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284E9F | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #284e9f; /* rgb */ color: rgb(40, 78, 159); /* oklch */ color: oklch(44.3% 0.139 263.1);
Tailwind
colors: {
custom: {
50: '#737fbc',
500: '#284e9f',
950: '#000000',
},
}SCSS
$custom: #284e9f; $custom-light: #737fbc; $custom-dark: #000000;
JSON
{
"hex": "#284e9f",
"rgb": {
"r": 40,
"g": 78,
"b": 159
},
"hsl": {
"h": 220.84,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.44345,
"c": 0.13885,
"h": 263.1
},
"luminance": 0.08403
}Semantic roles & 50–950 ramp
primary
#284E9F
secondary
#BFA264
accent
#B045E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81