#284E95#284E95
#284E95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.125 H 261.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #284E95 |
|---|---|
| RGB | rgb(40, 78, 149) |
| HSL | hsl(219, 58%, 37%) |
| HSV | hsv(219, 73%, 58%) |
| CMYK | cmyk(73.2%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(34.13, 12.02, -43.01) |
| CIE-LCH | lch(34.13, 44.65, 285.62°) |
| OKLab | oklab(43.61% -0.0183 -0.1233) |
| OKLCH | oklch(43.61% 0.125 261.6) |
| XYZ | xyz(9.0223, 8.0689, 29.5099) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.06
Dusk Blue
#26538D
ΔE00 2.66
Cobalt
#0047AB
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 4.45
Light Navy
#155084
ΔE00 4.53
Sapphire
#0F52BA
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284E95 #956F28
analogous
#288495 #284E95 #392895
triadic
#284E95 #95284E #4E9528
tetradic
#284E95 #952884 #956F28 #289539
square
#284E95 #952884 #956F28 #289539
split-complementary
#284E95 #953928 #849528
monochromatic
#0E1B35 #1B3565 #284E95 #3567C5 #628AD5
Accessibility & contrast
On white
8.03
#284E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#284E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284E95
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284E95 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#0F4C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #284e95; /* rgb */ color: rgb(40, 78, 149); /* oklch */ color: oklch(43.6% 0.125 261.6);
Tailwind
colors: {
custom: {
50: '#717fb5',
500: '#284e95',
950: '#000000',
},
}SCSS
$custom: #284e95; $custom-light: #717fb5; $custom-dark: #000000;
JSON
{
"hex": "#284e95",
"rgb": {
"r": 40,
"g": 78,
"b": 149
},
"hsl": {
"h": 219.083,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.43606,
"c": 0.12463,
"h": 261.6
},
"luminance": 0.0807
}Semantic roles & 50–950 ramp
primary
#284E95
secondary
#BB9A5E
accent
#AB47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80