#251786#251786
#251786 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.170 H 276.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #251786 |
|---|---|
| RGB | rgb(37, 23, 134) |
| HSL | hsl(248, 71%, 31%) |
| HSV | hsv(248, 83%, 53%) |
| CMYK | cmyk(72.4%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(18.91, 41.38, -58.55) |
| CIE-LCH | lch(18.91, 71.70, 305.25°) |
| OKLab | oklab(31.94% 0.0189 -0.1692) |
| OKLCH | oklch(31.94% 0.17 276.4) |
| XYZ | xyz(5.3710, 2.7268, 22.7929) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.44
Midnight Blue
#191970
ΔE00 3.91
Darkblue
#00008B
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.03
Navy
#000080
ΔE00 4.39
Cobalt Blue
#030AA7
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251786 #788617
analogous
#174086 #251786 #5C1786
triadic
#251786 #862517 #178625
tetradic
#251786 #861740 #788617 #17865C
square
#251786 #861740 #788617 #17865C
split-complementary
#251786 #865C17 #408617
monochromatic
#08051E #170E52 #251786 #3320BA #4F3ADD
Accessibility & contrast
On white
13.59
#251786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#251786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251786
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251786 | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 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: #251786; /* rgb */ color: rgb(37, 23, 134); /* oklch */ color: oklch(31.9% 0.170 276.4);
Tailwind
colors: {
custom: {
50: '#7058aa',
500: '#251786',
950: '#000000',
},
}SCSS
$custom: #251786; $custom-light: #7058aa; $custom-dark: #000000;
JSON
{
"hex": "#251786",
"rgb": {
"r": 37,
"g": 23,
"b": 134
},
"hsl": {
"h": 247.568,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.3194,
"c": 0.1703,
"h": 276.4
},
"luminance": 0.02727
}Semantic roles & 50–950 ramp
primary
#251786
secondary
#AABA3F
accent
#ED3AD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F