#284F9F#284F9F
#284F9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.138 H 262.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #284F9F |
|---|---|
| RGB | rgb(40, 79, 159) |
| HSL | hsl(220, 60%, 39%) |
| HSV | hsv(220, 75%, 62%) |
| CMYK | cmyk(74.8%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(35.09, 15.23, -47.49) |
| CIE-LCH | lch(35.09, 49.87, 287.79°) |
| OKLab | oklab(44.56% -0.0176 -0.1364) |
| OKLCH | oklch(44.56% 0.138 262.6) |
| XYZ | xyz(9.9268, 8.5452, 33.9204) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.24
Dusk Blue
#26538D
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 3.54
Denim Blue
#3B5B92
ΔE00 4.51
Light Navy Blue
#2E5A88
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F9F #9F7828
analogous
#288B9F #284F9F #3D289F
triadic
#284F9F #9F284F #4F9F28
tetradic
#284F9F #9F288B #9F7828 #289F3D
square
#284F9F #9F288B #9F7828 #289F3D
split-complementary
#284F9F #9F3D28 #8B9F28
monochromatic
#0F1E3D #1C376E #284F9F #3768CD #688DD9
Accessibility & contrast
On white
7.75
#284F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#284F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F9F
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F9F | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #284f9f; /* rgb */ color: rgb(40, 79, 159); /* oklch */ color: oklch(44.6% 0.138 262.6);
Tailwind
colors: {
custom: {
50: '#737fbc',
500: '#284f9f',
950: '#000000',
},
}SCSS
$custom: #284f9f; $custom-light: #737fbc; $custom-dark: #000000;
JSON
{
"hex": "#284f9f",
"rgb": {
"r": 40,
"g": 79,
"b": 159
},
"hsl": {
"h": 220.336,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.44564,
"c": 0.13759,
"h": 262.6
},
"luminance": 0.08546
}Semantic roles & 50–950 ramp
primary
#284F9F
secondary
#BFA164
accent
#AF45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81