#284D9C#284D9C
#284D9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.136 H 263.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #284D9C |
|---|---|
| RGB | rgb(40, 77, 156) |
| HSL | hsl(221, 59%, 38%) |
| HSV | hsv(221, 74%, 61%) |
| CMYK | cmyk(74.4%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(34.31, 15.41, -46.95) |
| CIE-LCH | lch(34.31, 49.41, 288.18°) |
| OKLab | oklab(43.9% -0.0163 -0.1349) |
| OKLCH | oklch(43.9% 0.136 263.1) |
| XYZ | xyz(9.5276, 8.1581, 32.5186) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.44
Cobalt
#0047AB
ΔE00 3.05
Dusk Blue
#26538D
ΔE00 3.64
Sapphire
#0F52BA
ΔE00 4.12
Denim Blue
#3B5B92
ΔE00 4.96
Light Navy
#155084
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284D9C #9C7728
analogous
#28879C #284D9C #3D289C
triadic
#284D9C #9C284D #4D9C28
tetradic
#284D9C #9C2887 #9C7728 #289C3D
square
#284D9C #9C2887 #9C7728 #289C3D
split-complementary
#284D9C #9C3D28 #879C28
monochromatic
#0F1D3B #1C356B #284D9C #3666CB #678BD8
Accessibility & contrast
On white
7.98
#284D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#284D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284D9C
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284D9C | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284d9c; /* rgb */ color: rgb(40, 77, 156); /* oklch */ color: oklch(43.9% 0.136 263.1);
Tailwind
colors: {
custom: {
50: '#727eba',
500: '#284d9c',
950: '#000000',
},
}SCSS
$custom: #284d9c; $custom-light: #727eba; $custom-dark: #000000;
JSON
{
"hex": "#284d9c",
"rgb": {
"r": 40,
"g": 77,
"b": 156
},
"hsl": {
"h": 220.862,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.43899,
"c": 0.13587,
"h": 263.1
},
"luminance": 0.08159
}Semantic roles & 50–950 ramp
primary
#284D9C
secondary
#BEA162
accent
#B045E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81