#284E96#284E96
#284E96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.126 H 261.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #284E96 |
|---|---|
| RGB | rgb(40, 78, 150) |
| HSL | hsl(219, 58%, 37%) |
| HSV | hsv(219, 73%, 59%) |
| CMYK | cmyk(73.3%, 48%, 0%, 41.2%) |
| CIE-LAB | lab(34.19, 12.41, -43.51) |
| CIE-LCH | lch(34.19, 45.24, 285.92°) |
| OKLab | oklab(43.68% -0.0181 -0.1247) |
| OKLCH | oklch(43.68% 0.126 261.7) |
| XYZ | xyz(9.1025, 8.1009, 29.9322) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.11
Dusk Blue
#26538D
ΔE00 2.75
Cobalt
#0047AB
ΔE00 3.78
Denim Blue
#3B5B92
ΔE00 4.47
Light Navy
#155084
ΔE00 4.63
Sapphire
#0F52BA
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284E96 #967028
analogous
#288596 #284E96 #392896
triadic
#284E96 #96284E #4E9628
tetradic
#284E96 #962885 #967028 #289639
square
#284E96 #962885 #967028 #289639
split-complementary
#284E96 #963928 #859628
monochromatic
#0E1C35 #1B3566 #284E96 #3567C6 #638BD5
Accessibility & contrast
On white
8.01
#284E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#284E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284E96
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284E96 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #284e96; /* rgb */ color: rgb(40, 78, 150); /* oklch */ color: oklch(43.7% 0.126 261.7);
Tailwind
colors: {
custom: {
50: '#717fb5',
500: '#284e96',
950: '#000000',
},
}SCSS
$custom: #284e96; $custom-light: #717fb5; $custom-dark: #000000;
JSON
{
"hex": "#284e96",
"rgb": {
"r": 40,
"g": 78,
"b": 150
},
"hsl": {
"h": 219.273,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.43678,
"c": 0.12606,
"h": 261.7
},
"luminance": 0.08102
}Semantic roles & 50–950 ramp
primary
#284E96
secondary
#BB9B5F
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80