#284894#284894
#284894 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.131 H 264.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #284894 |
|---|---|
| RGB | rgb(40, 72, 148) |
| HSL | hsl(222, 57%, 37%) |
| HSV | hsv(222, 73%, 58%) |
| CMYK | cmyk(73%, 51.4%, 0%, 42%) |
| CIE-LAB | lab(32.31, 15.68, -45.32) |
| CIE-LCH | lch(32.31, 47.96, 289.08°) |
| OKLab | oklab(42.2% -0.0129 -0.1302) |
| OKLCH | oklch(42.2% 0.131 264.3) |
| XYZ | xyz(8.5358, 7.2231, 28.9556) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.68
Cobalt
#0047AB
ΔE00 3.44
Darkish Blue
#014182
ΔE00 4.52
Dusk Blue
#26538D
ΔE00 4.68
Twilight Blue
#0A437A
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284894 #947428
analogous
#287E94 #284894 #3E2894
triadic
#284894 #942848 #489428
tetradic
#284894 #94287E #947428 #28943E
square
#284894 #94287E #947428 #28943E
split-complementary
#284894 #943E28 #7E9428
monochromatic
#0E1934 #1B3164 #284894 #355FC4 #6284D5
Accessibility & contrast
On white
8.59
#284894 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#284894 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284894
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284894 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284894 | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #284894; /* rgb */ color: rgb(40, 72, 148); /* oklch */ color: oklch(42.2% 0.131 264.3);
Tailwind
colors: {
custom: {
50: '#717ab4',
500: '#284894',
950: '#000000',
},
}SCSS
$custom: #284894; $custom-light: #717ab4; $custom-dark: #000000;
JSON
{
"hex": "#284894",
"rgb": {
"r": 40,
"g": 72,
"b": 148
},
"hsl": {
"h": 222.222,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.42195,
"c": 0.13084,
"h": 264.3
},
"luminance": 0.07224
}Semantic roles & 50–950 ramp
primary
#284894
secondary
#BA9F5E
accent
#B347E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80