#284895#284895
#284895 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.132 H 264.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #284895 |
|---|---|
| RGB | rgb(40, 72, 149) |
| HSL | hsl(222, 58%, 37%) |
| HSV | hsv(222, 73%, 58%) |
| CMYK | cmyk(73.2%, 51.7%, 0%, 41.6%) |
| CIE-LAB | lab(32.38, 16.07, -45.82) |
| CIE-LCH | lch(32.38, 48.55, 289.32°) |
| OKLab | oklab(42.27% -0.0128 -0.1316) |
| OKLCH | oklch(42.27% 0.132 264.4) |
| XYZ | xyz(8.6153, 7.2549, 29.3742) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.78
Cobalt
#0047AB
ΔE00 3.33
Darkish Blue
#014182
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 4.74
Twilight Blue
#0A437A
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284895 #957528
analogous
#287F95 #284895 #3E2895
triadic
#284895 #952848 #489528
tetradic
#284895 #95287F #957528 #28953E
square
#284895 #95287F #957528 #28953E
split-complementary
#284895 #953E28 #7F9528
monochromatic
#0E1935 #1B3165 #284895 #355FC5 #6284D5
Accessibility & contrast
On white
8.57
#284895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#284895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284895
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284895 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #284895; /* rgb */ color: rgb(40, 72, 149); /* oklch */ color: oklch(42.3% 0.132 264.4);
Tailwind
colors: {
custom: {
50: '#717ab5',
500: '#284895',
950: '#000000',
},
}SCSS
$custom: #284895; $custom-light: #717ab5; $custom-dark: #000000;
JSON
{
"hex": "#284895",
"rgb": {
"r": 40,
"g": 72,
"b": 149
},
"hsl": {
"h": 222.385,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.42271,
"c": 0.13227,
"h": 264.4
},
"luminance": 0.07256
}Semantic roles & 50–950 ramp
primary
#284895
secondary
#BB9F5E
accent
#B447E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80