#284C8F#284C8F
#284C8F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.119 H 261.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #284C8F |
|---|---|
| RGB | rgb(40, 76, 143) |
| HSL | hsl(219, 56%, 36%) |
| HSV | hsv(219, 72%, 56%) |
| CMYK | cmyk(72%, 46.9%, 0%, 43.9%) |
| CIE-LAB | lab(33.14, 11.04, -40.93) |
| CIE-LCH | lch(33.14, 42.40, 285.10°) |
| OKLab | oklab(42.72% -0.0174 -0.1172) |
| OKLCH | oklch(42.72% 0.119 261.6) |
| XYZ | xyz(8.4157, 7.6023, 27.0051) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.42
Dusk Blue
#26538D
ΔE00 2.96
Cobalt
#0047AB
ΔE00 4.23
Darkish Blue
#014182
ΔE00 4.38
Light Navy
#155084
ΔE00 4.49
Twilight Blue
#0A437A
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284C8F #8F6B28
analogous
#287F8F #284C8F #37288F
triadic
#284C8F #8F284C #4C8F28
tetradic
#284C8F #8F287F #8F6B28 #288F37
square
#284C8F #8F287F #8F6B28 #288F37
split-complementary
#284C8F #8F3728 #7F8F28
monochromatic
#0D192F #1B335F #284C8F #3565BF #5F87D2
Accessibility & contrast
On white
8.33
#284C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#284C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284C8F
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284C8F | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #284c8f; /* rgb */ color: rgb(40, 76, 143); /* oklch */ color: oklch(42.7% 0.119 261.6);
Tailwind
colors: {
custom: {
50: '#6f7db0',
500: '#284c8f',
950: '#000000',
},
}SCSS
$custom: #284c8f; $custom-light: #6f7db0; $custom-dark: #000000;
JSON
{
"hex": "#284c8f",
"rgb": {
"r": 40,
"g": 76,
"b": 143
},
"hsl": {
"h": 219.029,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.42722,
"c": 0.11851,
"h": 261.6
},
"luminance": 0.07603
}Semantic roles & 50–950 ramp
primary
#284C8F
secondary
#B8975B
accent
#AB48E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F