#251589#251589
#251589 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.176 H 276.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #251589 |
|---|---|
| RGB | rgb(37, 21, 137) |
| HSL | hsl(248, 73%, 31%) |
| HSV | hsv(248, 85%, 54%) |
| CMYK | cmyk(73%, 84.7%, 0%, 46.3%) |
| CIE-LAB | lab(18.95, 43.27, -60.38) |
| CIE-LCH | lch(18.95, 74.28, 305.63°) |
| OKLab | oklab(32.07% 0.0188 -0.1745) |
| OKLCH | oklch(32.07% 0.176 276.2) |
| XYZ | xyz(5.5450, 2.7353, 23.8978) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.20
Darkblue
#00008B
ΔE00 3.65
Indigo (survey)
#380282
ΔE00 3.79
Navy
#000080
ΔE00 4.18
Cobalt Blue
#030AA7
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251589 #798915
analogous
#153F89 #251589 #5F1589
triadic
#251589 #892515 #158925
tetradic
#251589 #89153F #798915 #15895F
square
#251589 #89153F #798915 #15895F
split-complementary
#251589 #895F15 #3F8915
monochromatic
#08051F #170D54 #251589 #331DBE #4F38E0
Accessibility & contrast
On white
13.57
#251589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#251589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251589
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251589 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251589; /* rgb */ color: rgb(37, 21, 137); /* oklch */ color: oklch(32.1% 0.176 276.2);
Tailwind
colors: {
custom: {
50: '#7157ad',
500: '#251589',
950: '#000000',
},
}SCSS
$custom: #251589; $custom-light: #7157ad; $custom-dark: #000000;
JSON
{
"hex": "#251589",
"rgb": {
"r": 37,
"g": 21,
"b": 137
},
"hsl": {
"h": 248.276,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.3207,
"c": 0.17552,
"h": 276.2
},
"luminance": 0.02736
}Semantic roles & 50–950 ramp
primary
#251589
secondary
#ABBD3D
accent
#F038D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F