#284A8A#284A8A
#284A8A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.114 H 261.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #284A8A |
|---|---|
| RGB | rgb(40, 74, 138) |
| HSL | hsl(219, 55%, 35%) |
| HSV | hsv(219, 71%, 54%) |
| CMYK | cmyk(71%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(32.22, 10.45, -39.35) |
| CIE-LCH | lch(32.22, 40.71, 284.88°) |
| OKLab | oklab(41.91% -0.0164 -0.1126) |
| OKLCH | oklch(41.91% 0.114 261.7) |
| XYZ | xyz(7.9097, 7.1828, 25.0094) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.26
Dusk Blue
#26538D
ΔE00 3.52
Darkish Blue
#014182
ΔE00 3.84
Twilight Blue
#0A437A
ΔE00 4.14
Cobalt
#0047AB
ΔE00 4.66
Light Navy
#155084
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284A8A #8A6828
analogous
#287B8A #284A8A #37288A
triadic
#284A8A #8A284A #4A8A28
tetradic
#284A8A #8A287B #8A6828 #288A37
square
#284A8A #8A287B #8A6828 #288A37
split-complementary
#284A8A #8A3728 #7B8A28
monochromatic
#0C172B #1A315B #284A8A #3663B9 #5D85D0
Accessibility & contrast
On white
8.62
#284A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#284A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284A8A
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284A8A | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A518C
Deuteranopia (green-blind)
#174889
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #284a8a; /* rgb */ color: rgb(40, 74, 138); /* oklch */ color: oklch(41.9% 0.114 261.7);
Tailwind
colors: {
custom: {
50: '#6e7cac',
500: '#284a8a',
950: '#000000',
},
}SCSS
$custom: #284a8a; $custom-light: #6e7cac; $custom-dark: #000000;
JSON
{
"hex": "#284a8a",
"rgb": {
"r": 40,
"g": 74,
"b": 138
},
"hsl": {
"h": 219.184,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.41909,
"c": 0.11376,
"h": 261.7
},
"luminance": 0.07184
}Semantic roles & 50–950 ramp
primary
#284A8A
secondary
#B59559
accent
#AB49DE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F