#251788#251788
#251788 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.173 H 276.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #251788 |
|---|---|
| RGB | rgb(37, 23, 136) |
| HSL | hsl(247, 71%, 31%) |
| HSV | hsv(247, 83%, 53%) |
| CMYK | cmyk(72.8%, 83.1%, 0%, 46.7%) |
| CIE-LAB | lab(19.15, 42.01, -59.42) |
| CIE-LCH | lch(19.15, 72.77, 305.26°) |
| OKLab | oklab(32.17% 0.0184 -0.1718) |
| OKLCH | oklch(32.17% 0.173 276.1) |
| XYZ | xyz(5.5118, 2.7832, 23.5345) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.23
Darkblue
#00008B
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.06
Midnight Blue
#191970
ΔE00 4.18
Navy
#000080
ΔE00 4.45
Cobalt Blue
#030AA7
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251788 #7A8817
analogous
#174188 #251788 #5D1788
triadic
#251788 #882517 #178825
tetradic
#251788 #881741 #7A8817 #17885D
square
#251788 #881741 #7A8817 #17885D
split-complementary
#251788 #885D17 #418817
monochromatic
#09051F #170E54 #251788 #3320BC #503BDE
Accessibility & contrast
On white
13.49
#251788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#251788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251788
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251788 | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 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: #251788; /* rgb */ color: rgb(37, 23, 136); /* oklch */ color: oklch(32.2% 0.173 276.1);
Tailwind
colors: {
custom: {
50: '#7158ac',
500: '#251788',
950: '#000000',
},
}SCSS
$custom: #251788; $custom-light: #7158ac; $custom-dark: #000000;
JSON
{
"hex": "#251788",
"rgb": {
"r": 37,
"g": 23,
"b": 136
},
"hsl": {
"h": 247.434,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.32175,
"c": 0.17273,
"h": 276.1
},
"luminance": 0.02784
}Semantic roles & 50–950 ramp
primary
#251788
secondary
#ACBC3F
accent
#EE3AD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F