#284591#284591
#284591 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.130 H 265.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #284591 |
|---|---|
| RGB | rgb(40, 69, 145) |
| HSL | hsl(223, 57%, 36%) |
| HSV | hsv(223, 72%, 57%) |
| CMYK | cmyk(72.4%, 52.4%, 0%, 43.1%) |
| CIE-LAB | lab(31.23, 16.55, -45.23) |
| CIE-LCH | lch(31.23, 48.16, 290.10°) |
| OKLab | oklab(41.31% -0.0106 -0.13) |
| OKLCH | oklch(41.31% 0.13 265.3) |
| XYZ | xyz(8.1122, 6.7509, 27.6581) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.20
Cobalt
#0047AB
ΔE00 3.92
Darkish Blue
#014182
ΔE00 4.38
Twilight Blue
#0A437A
ΔE00 5.24
Dusk Blue
#26538D
ΔE00 5.59
Blueberry
#464196
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#284591 #917428
analogous
#287A91 #284591 #402891
triadic
#284591 #912845 #459128
tetradic
#284591 #91287A #917428 #289140
square
#284591 #91287A #917428 #289140
split-complementary
#284591 #914028 #7A9128
monochromatic
#0E1731 #1B2E61 #284591 #355CC1 #6080D3
Accessibility & contrast
On white
8.93
#284591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#284591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #284591
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##284591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##284591 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #284591; /* rgb */ color: rgb(40, 69, 145); /* oklch */ color: oklch(41.3% 0.130 265.3);
Tailwind
colors: {
custom: {
50: '#7078b2',
500: '#284591',
950: '#000000',
},
}SCSS
$custom: #284591; $custom-light: #7078b2; $custom-dark: #000000;
JSON
{
"hex": "#284591",
"rgb": {
"r": 40,
"g": 69,
"b": 145
},
"hsl": {
"h": 223.429,
"s": 56.757,
"l": 36.275
},
"oklch": {
"l": 0.41308,
"c": 0.1304,
"h": 265.3
},
"luminance": 0.06752
}Semantic roles & 50–950 ramp
primary
#284591
secondary
#B99F5C
accent
#B648E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80