#251886#251886
#251886 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.169 H 276.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #251886 |
|---|---|
| RGB | rgb(37, 24, 134) |
| HSL | hsl(247, 70%, 31%) |
| HSV | hsv(247, 82%, 53%) |
| CMYK | cmyk(72.4%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(19.09, 40.88, -58.27) |
| CIE-LCH | lch(19.09, 71.18, 305.05°) |
| OKLab | oklab(32.06% 0.0185 -0.1684) |
| OKLCH | oklch(32.06% 0.169 276.3) |
| XYZ | xyz(5.3913, 2.7673, 22.7997) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.44
Midnight Blue
#191970
ΔE00 3.85
Indigo (survey)
#380282
ΔE00 4.20
Darkblue
#00008B
ΔE00 4.20
Navy
#000080
ΔE00 4.56
Cobalt Blue
#030AA7
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251886 #798618
analogous
#184286 #251886 #5C1886
triadic
#251886 #862518 #188625
tetradic
#251886 #861842 #798618 #18865C
square
#251886 #861842 #798618 #18865C
split-complementary
#251886 #865C18 #428618
monochromatic
#08051E #170F52 #251886 #3321BA #4F3CDC
Accessibility & contrast
On white
13.52
#251886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#251886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251886
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251886 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251886; /* rgb */ color: rgb(37, 24, 134); /* oklch */ color: oklch(32.1% 0.169 276.3);
Tailwind
colors: {
custom: {
50: '#7058aa',
500: '#251886',
950: '#000000',
},
}SCSS
$custom: #251886; $custom-light: #7058aa; $custom-dark: #000000;
JSON
{
"hex": "#251886",
"rgb": {
"r": 37,
"g": 24,
"b": 134
},
"hsl": {
"h": 247.091,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.3206,
"c": 0.16944,
"h": 276.3
},
"luminance": 0.02768
}Semantic roles & 50–950 ramp
primary
#251886
secondary
#ABBA40
accent
#EC3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F