#284F97#284F97
#284F97 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.126 H 261.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #284F97 |
|---|---|
| RGB | rgb(40, 79, 151) |
| HSL | hsl(219, 58%, 37%) |
| HSV | hsv(219, 74%, 59%) |
| CMYK | cmyk(73.5%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.55, 12.13, -43.53) |
| CIE-LCH | lch(34.55, 45.19, 285.57°) |
| OKLab | oklab(43.98% -0.0189 -0.1248) |
| OKLCH | oklch(43.98% 0.126 261.4) |
| XYZ | xyz(9.2550, 8.2765, 30.3819) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.41
Dusk Blue
#26538D
ΔE00 2.53
Cobalt
#0047AB
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.44
Light Navy
#155084
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F97 #977028
analogous
#288697 #284F97 #392897
triadic
#284F97 #97284F #4F9728
tetradic
#284F97 #972886 #977028 #289739
square
#284F97 #972886 #977028 #289739
split-complementary
#284F97 #973928 #869728
monochromatic
#0E1C36 #1B3667 #284F97 #3568C7 #648CD6
Accessibility & contrast
On white
7.91
#284F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#284F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F97
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F97 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#0E4C96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284f97; /* rgb */ color: rgb(40, 79, 151); /* oklch */ color: oklch(44.0% 0.126 261.4);
Tailwind
colors: {
custom: {
50: '#717fb6',
500: '#284f97',
950: '#000000',
},
}SCSS
$custom: #284f97; $custom-light: #717fb6; $custom-dark: #000000;
JSON
{
"hex": "#284f97",
"rgb": {
"r": 40,
"g": 79,
"b": 151
},
"hsl": {
"h": 218.919,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.43976,
"c": 0.12623,
"h": 261.4
},
"luminance": 0.08277
}Semantic roles & 50–950 ramp
primary
#284F97
secondary
#BC9B5F
accent
#AB46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80