#284C97#284C97
#284C97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.130 H 262.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #284C97 |
|---|---|
| RGB | rgb(40, 76, 151) |
| HSL | hsl(221, 58%, 37%) |
| HSV | hsv(221, 74%, 59%) |
| CMYK | cmyk(73.5%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(33.68, 14.14, -44.94) |
| CIE-LCH | lch(33.68, 47.12, 287.47°) |
| OKLab | oklab(43.3% -0.0161 -0.129) |
| OKLCH | oklch(43.3% 0.13 262.9) |
| XYZ | xyz(9.0434, 7.8534, 30.3114) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.83
Cobalt
#0047AB
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 4.79
Darkish Blue
#014182
ΔE00 4.99
Denim Blue
#3B5B92
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C97 #977328
analogous
#288397 #284C97 #3C2897
triadic
#284C97 #97284C #4C9728
tetradic
#284C97 #972883 #977328 #28973C
square
#284C97 #972883 #977328 #28973C
split-complementary
#284C97 #973C28 #839728
monochromatic
#0E1B36 #1B3467 #284C97 #3564C7 #6489D6
Accessibility & contrast
On white
8.17
#284C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#284C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C97
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C97 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284c97; /* rgb */ color: rgb(40, 76, 151); /* oklch */ color: oklch(43.3% 0.130 262.9);
Tailwind
colors: {
custom: {
50: '#717db6',
500: '#284c97',
950: '#000000',
},
}SCSS
$custom: #284c97; $custom-light: #717db6; $custom-dark: #000000;
JSON
{
"hex": "#284c97",
"rgb": {
"r": 40,
"g": 76,
"b": 151
},
"hsl": {
"h": 220.541,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.43304,
"c": 0.13001,
"h": 262.9
},
"luminance": 0.07854
}Semantic roles & 50–950 ramp
primary
#284C97
secondary
#BC9E5F
accent
#AF46E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80