#251887#251887
#251887 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.171 H 276.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #251887 |
|---|---|
| RGB | rgb(37, 24, 135) |
| HSL | hsl(247, 70%, 31%) |
| HSV | hsv(247, 82%, 53%) |
| CMYK | cmyk(72.6%, 82.2%, 0%, 47.1%) |
| CIE-LAB | lab(19.20, 41.20, -58.70) |
| CIE-LCH | lch(19.20, 71.72, 305.06°) |
| OKLab | oklab(32.18% 0.0182 -0.1697) |
| OKLCH | oklch(32.18% 0.171 276.1) |
| XYZ | xyz(5.4613, 2.7953, 23.1687) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.33
Midnight Blue
#191970
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 4.21
Navy
#000080
ΔE00 4.58
Cobalt Blue
#030AA7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251887 #7A8718
analogous
#184287 #251887 #5C1887
triadic
#251887 #872518 #188725
tetradic
#251887 #871842 #7A8718 #18875C
square
#251887 #871842 #7A8718 #18875C
split-complementary
#251887 #875C18 #428718
monochromatic
#09061F #170F53 #251887 #3321BB #503DDC
Accessibility & contrast
On white
13.47
#251887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#251887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251887
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251887 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #251887; /* rgb */ color: rgb(37, 24, 135); /* oklch */ color: oklch(32.2% 0.171 276.1);
Tailwind
colors: {
custom: {
50: '#7058ab',
500: '#251887',
950: '#000000',
},
}SCSS
$custom: #251887; $custom-light: #7058ab; $custom-dark: #000000;
JSON
{
"hex": "#251887",
"rgb": {
"r": 37,
"g": 24,
"b": 135
},
"hsl": {
"h": 247.027,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.32176,
"c": 0.17066,
"h": 276.1
},
"luminance": 0.02796
}Semantic roles & 50–950 ramp
primary
#251887
secondary
#ACBB40
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F