#251989#251989
#251989 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.172 H 275.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #251989 |
|---|---|
| RGB | rgb(37, 25, 137) |
| HSL | hsl(246, 69%, 32%) |
| HSV | hsv(246, 82%, 54%) |
| CMYK | cmyk(73%, 81.8%, 0%, 46.3%) |
| CIE-LAB | lab(19.62, 41.33, -59.28) |
| CIE-LCH | lch(19.62, 72.27, 304.88°) |
| OKLab | oklab(32.53% 0.0172 -0.1714) |
| OKLCH | oklch(32.53% 0.172 275.7) |
| XYZ | xyz(5.6245, 2.8942, 23.9243) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.14
Midnight Blue
#191970
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.31
Indigo (survey)
#380282
ΔE00 4.41
Cobalt Blue
#030AA7
ΔE00 4.60
Navy
#000080
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251989 #7D8919
analogous
#194589 #251989 #5D1989
triadic
#251989 #892519 #198925
tetradic
#251989 #891945 #7D8919 #19895D
square
#251989 #891945 #7D8919 #19895D
split-complementary
#251989 #895D19 #458919
monochromatic
#090621 #171055 #251989 #3322BD #5140DC
Accessibility & contrast
On white
13.30
#251989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#251989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251989
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251989 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #251989; /* rgb */ color: rgb(37, 25, 137); /* oklch */ color: oklch(32.5% 0.172 275.7);
Tailwind
colors: {
custom: {
50: '#7159ad',
500: '#251989',
950: '#000000',
},
}SCSS
$custom: #251989; $custom-light: #7159ad; $custom-dark: #000000;
JSON
{
"hex": "#251989",
"rgb": {
"r": 37,
"g": 25,
"b": 137
},
"hsl": {
"h": 246.429,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.3253,
"c": 0.17224,
"h": 275.7
},
"luminance": 0.02895
}Semantic roles & 50–950 ramp
primary
#251989
secondary
#AFBC41
accent
#EC3CD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F