#251686#251686
#251686 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.171 H 276.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #251686 |
|---|---|
| RGB | rgb(37, 22, 134) |
| HSL | hsl(248, 72%, 31%) |
| HSV | hsv(248, 84%, 53%) |
| CMYK | cmyk(72.4%, 83.6%, 0%, 47.5%) |
| CIE-LAB | lab(18.75, 41.86, -58.83) |
| CIE-LCH | lch(18.75, 72.21, 305.43°) |
| OKLab | oklab(31.83% 0.0194 -0.17) |
| OKLCH | oklch(31.83% 0.171 276.5) |
| XYZ | xyz(5.3515, 2.6879, 22.7864) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.46
Darkblue
#00008B
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 3.87
Midnight Blue
#191970
ΔE00 3.98
Navy
#000080
ΔE00 4.23
Cobalt Blue
#030AA7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251686 #778616
analogous
#163F86 #251686 #5D1686
triadic
#251686 #862516 #168625
tetradic
#251686 #86163F #778616 #16865D
square
#251686 #86163F #778616 #16865D
split-complementary
#251686 #865D16 #3F8616
monochromatic
#08051D #160D51 #251686 #341FBB #4E38DE
Accessibility & contrast
On white
13.66
#251686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#251686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251686
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251686 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251686; /* rgb */ color: rgb(37, 22, 134); /* oklch */ color: oklch(31.8% 0.171 276.5);
Tailwind
colors: {
custom: {
50: '#7057aa',
500: '#251686',
950: '#000000',
},
}SCSS
$custom: #251686; $custom-light: #7057aa; $custom-dark: #000000;
JSON
{
"hex": "#251686",
"rgb": {
"r": 37,
"g": 22,
"b": 134
},
"hsl": {
"h": 248.036,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.31825,
"c": 0.17113,
"h": 276.5
},
"luminance": 0.02688
}Semantic roles & 50–950 ramp
primary
#251686
secondary
#A9BA3E
accent
#EF39D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F