#284F95#284F95
#284F95 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.123 H 261.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #284F95 |
|---|---|
| RGB | rgb(40, 79, 149) |
| HSL | hsl(219, 58%, 37%) |
| HSV | hsv(219, 73%, 58%) |
| CMYK | cmyk(73.2%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(34.42, 11.36, -42.53) |
| CIE-LCH | lch(34.42, 44.02, 284.95°) |
| OKLab | oklab(43.83% -0.0192 -0.1219) |
| OKLCH | oklch(43.83% 0.123 261) |
| XYZ | xyz(9.0939, 8.2120, 29.5338) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.32
Dusk Blue
#26538D
ΔE00 2.34
Cobalt
#0047AB
ΔE00 4.07
Denim Blue
#3B5B92
ΔE00 4.16
Light Navy
#155084
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284F95 #956E28
analogous
#288695 #284F95 #382895
triadic
#284F95 #95284F #4F9528
tetradic
#284F95 #952886 #956E28 #289538
square
#284F95 #952886 #956E28 #289538
split-complementary
#284F95 #953828 #869528
monochromatic
#0E1C35 #1B3565 #284F95 #3569C5 #628BD5
Accessibility & contrast
On white
7.95
#284F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#284F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284F95
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284F95 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#134C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #284f95; /* rgb */ color: rgb(40, 79, 149); /* oklch */ color: oklch(43.8% 0.123 261.0);
Tailwind
colors: {
custom: {
50: '#717fb5',
500: '#284f95',
950: '#000000',
},
}SCSS
$custom: #284f95; $custom-light: #717fb5; $custom-dark: #000000;
JSON
{
"hex": "#284f95",
"rgb": {
"r": 40,
"g": 79,
"b": 149
},
"hsl": {
"h": 218.532,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.43833,
"c": 0.12336,
"h": 261
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#284F95
secondary
#BB9A5E
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80