#284D8F#284D8F
#284D8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.117 H 261.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #284D8F |
|---|---|
| RGB | rgb(40, 77, 143) |
| HSL | hsl(218, 56%, 36%) |
| HSV | hsv(218, 72%, 56%) |
| CMYK | cmyk(72%, 46.2%, 0%, 43.9%) |
| CIE-LAB | lab(33.44, 10.37, -40.46) |
| CIE-LCH | lch(33.44, 41.76, 284.38°) |
| OKLab | oklab(42.95% -0.0184 -0.1158) |
| OKLCH | oklch(42.95% 0.117 261) |
| XYZ | xyz(8.4851, 7.7412, 27.0283) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.67
Dusk Blue
#26538D
ΔE00 2.59
Light Navy
#155084
ΔE00 4.22
Cobalt
#0047AB
ΔE00 4.36
Darkish Blue
#014182
ΔE00 4.53
Denim Blue
#3B5B92
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284D8F #8F6A28
analogous
#28808F #284D8F #37288F
triadic
#284D8F #8F284D #4D8F28
tetradic
#284D8F #8F2880 #8F6A28 #288F37
square
#284D8F #8F2880 #8F6A28 #288F37
split-complementary
#284D8F #8F3728 #808F28
monochromatic
#0D192F #1B335F #284D8F #3567BF #5F88D2
Accessibility & contrast
On white
8.24
#284D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#284D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284D8F
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284D8F | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#184A8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #284d8f; /* rgb */ color: rgb(40, 77, 143); /* oklch */ color: oklch(43.0% 0.117 261.0);
Tailwind
colors: {
custom: {
50: '#6f7eb0',
500: '#284d8f',
950: '#000000',
},
}SCSS
$custom: #284d8f; $custom-light: #6f7eb0; $custom-dark: #000000;
JSON
{
"hex": "#284d8f",
"rgb": {
"r": 40,
"g": 77,
"b": 143
},
"hsl": {
"h": 218.447,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.42951,
"c": 0.11725,
"h": 261
},
"luminance": 0.07742
}Semantic roles & 50–950 ramp
primary
#284D8F
secondary
#B8965B
accent
#A948E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F