#284995#284995
#284995 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.131 H 264.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #284995 |
|---|---|
| RGB | rgb(40, 73, 149) |
| HSL | hsl(222, 58%, 37%) |
| HSV | hsv(222, 73%, 58%) |
| CMYK | cmyk(73.2%, 51%, 0%, 41.6%) |
| CIE-LAB | lab(32.67, 15.39, -45.35) |
| CIE-LCH | lch(32.67, 47.89, 288.75°) |
| OKLab | oklab(42.49% -0.0137 -0.1303) |
| OKLCH | oklch(42.49% 0.131 264) |
| XYZ | xyz(8.6805, 7.3852, 29.3960) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.63
Cobalt
#0047AB
ΔE00 3.34
Dusk Blue
#26538D
ΔE00 4.39
Darkish Blue
#014182
ΔE00 4.63
Twilight Blue
#0A437A
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284995 #957428
analogous
#288095 #284995 #3E2895
triadic
#284995 #952849 #499528
tetradic
#284995 #952880 #957428 #28953E
square
#284995 #952880 #957428 #28953E
split-complementary
#284995 #953E28 #809528
monochromatic
#0E1A35 #1B3165 #284995 #3561C5 #6285D5
Accessibility & contrast
On white
8.48
#284995 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#284995 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284995
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284995 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284995 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #284995; /* rgb */ color: rgb(40, 73, 149); /* oklch */ color: oklch(42.5% 0.131 264.0);
Tailwind
colors: {
custom: {
50: '#717bb5',
500: '#284995',
950: '#000000',
},
}SCSS
$custom: #284995; $custom-light: #717bb5; $custom-dark: #000000;
JSON
{
"hex": "#284995",
"rgb": {
"r": 40,
"g": 73,
"b": 149
},
"hsl": {
"h": 221.835,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.42491,
"c": 0.13099,
"h": 264
},
"luminance": 0.07386
}Semantic roles & 50–950 ramp
primary
#284995
secondary
#BB9F5E
accent
#B247E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80