#251688#251688
#251688 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.174 H 276.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #251688 |
|---|---|
| RGB | rgb(37, 22, 136) |
| HSL | hsl(248, 72%, 31%) |
| HSV | hsv(248, 84%, 53%) |
| CMYK | cmyk(72.8%, 83.8%, 0%, 46.7%) |
| CIE-LAB | lab(18.99, 42.49, -59.69) |
| CIE-LCH | lch(18.99, 73.27, 305.45°) |
| OKLab | oklab(32.06% 0.0188 -0.1725) |
| OKLCH | oklch(32.06% 0.174 276.2) |
| XYZ | xyz(5.4923, 2.7442, 23.5280) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.26
Darkblue
#00008B
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 3.91
Midnight Blue
#191970
ΔE00 4.24
Navy
#000080
ΔE00 4.29
Cobalt Blue
#030AA7
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251688 #798816
analogous
#164088 #251688 #5E1688
triadic
#251688 #882516 #168825
tetradic
#251688 #881640 #798816 #16885E
square
#251688 #881640 #798816 #16885E
split-complementary
#251688 #885E16 #408816
monochromatic
#08051F #170D53 #251688 #331FBD #4F39DF
Accessibility & contrast
On white
13.56
#251688 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#251688 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251688
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251688 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251688 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251688; /* rgb */ color: rgb(37, 22, 136); /* oklch */ color: oklch(32.1% 0.174 276.2);
Tailwind
colors: {
custom: {
50: '#7157ac',
500: '#251688',
950: '#000000',
},
}SCSS
$custom: #251688; $custom-light: #7157ac; $custom-dark: #000000;
JSON
{
"hex": "#251688",
"rgb": {
"r": 37,
"g": 22,
"b": 136
},
"hsl": {
"h": 247.895,
"s": 72.152,
"l": 30.98
},
"oklch": {
"l": 0.32061,
"c": 0.17354,
"h": 276.2
},
"luminance": 0.02745
}Semantic roles & 50–950 ramp
primary
#251688
secondary
#ABBC3E
accent
#EF39D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F