#251489#251489
#251489 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.176 H 276.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #251489 |
|---|---|
| RGB | rgb(37, 20, 137) |
| HSL | hsl(249, 75%, 31%) |
| HSV | hsv(249, 85%, 54%) |
| CMYK | cmyk(73%, 85.4%, 0%, 46.3%) |
| CIE-LAB | lab(18.80, 43.73, -60.64) |
| CIE-LCH | lch(18.80, 74.76, 305.80°) |
| OKLab | oklab(31.96% 0.0192 -0.1752) |
| OKLCH | oklch(31.96% 0.176 276.3) |
| XYZ | xyz(5.5270, 2.6992, 23.8918) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.26
Darkblue
#00008B
ΔE00 3.50
Indigo (survey)
#380282
ΔE00 3.66
Navy
#000080
ΔE00 4.05
Cobalt Blue
#030AA7
ΔE00 4.27
Midnight Blue
#191970
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251489 #788914
analogous
#143D89 #251489 #5F1489
triadic
#251489 #892514 #148925
tetradic
#251489 #89143D #788914 #14895F
square
#251489 #89143D #788914 #14895F
split-complementary
#251489 #895F14 #3D8914
monochromatic
#08041E #170C54 #251489 #331CBE #4F36E2
Accessibility & contrast
On white
13.64
#251489 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#251489 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251489
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251489 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251489 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251489; /* rgb */ color: rgb(37, 20, 137); /* oklch */ color: oklch(32.0% 0.176 276.3);
Tailwind
colors: {
custom: {
50: '#7157ad',
500: '#251489',
950: '#000000',
},
}SCSS
$custom: #251489; $custom-light: #7157ad; $custom-dark: #000000;
JSON
{
"hex": "#251489",
"rgb": {
"r": 37,
"g": 20,
"b": 137
},
"hsl": {
"h": 248.718,
"s": 74.522,
"l": 30.784
},
"oklch": {
"l": 0.31964,
"c": 0.17628,
"h": 276.3
},
"luminance": 0.027
}Semantic roles & 50–950 ramp
primary
#251489
secondary
#AABD3C
accent
#F137D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F