#251582#251582
#251582 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.167 H 277.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #251582 |
|---|---|
| RGB | rgb(37, 21, 130) |
| HSL | hsl(249, 72%, 30%) |
| HSV | hsv(249, 84%, 51%) |
| CMYK | cmyk(71.5%, 83.8%, 0%, 49%) |
| CIE-LAB | lab(18.10, 41.09, -57.37) |
| CIE-LCH | lch(18.10, 70.57, 305.61°) |
| OKLab | oklab(31.24% 0.021 -0.1658) |
| OKLCH | oklch(31.24% 0.167 277.2) |
| XYZ | xyz(5.0591, 2.5409, 21.3386) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.96
Midnight Blue
#191970
ΔE00 3.55
Indigo (survey)
#380282
ΔE00 3.71
Darkblue
#00008B
ΔE00 3.88
Navy
#000080
ΔE00 4.02
Deep Blue
#040273
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251582 #728215
analogous
#153C82 #251582 #5B1582
triadic
#251582 #822515 #158225
tetradic
#251582 #82153C #728215 #15825B
square
#251582 #82153C #728215 #15825B
split-complementary
#251582 #825B15 #3C8215
monochromatic
#07041A #160C4D #251582 #341EB7 #4C33DE
Accessibility & contrast
On white
13.92
#251582 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#251582 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251582
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251582 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251582 | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #251582; /* rgb */ color: rgb(37, 21, 130); /* oklch */ color: oklch(31.2% 0.167 277.2);
Tailwind
colors: {
custom: {
50: '#6f56a8',
500: '#251582',
950: '#000000',
},
}SCSS
$custom: #251582; $custom-light: #6f56a8; $custom-dark: #000000;
JSON
{
"hex": "#251582",
"rgb": {
"r": 37,
"g": 21,
"b": 130
},
"hsl": {
"h": 248.807,
"s": 72.185,
"l": 29.608
},
"oklch": {
"l": 0.31238,
"c": 0.16711,
"h": 277.2
},
"luminance": 0.02541
}Semantic roles & 50–950 ramp
primary
#251582
secondary
#A5B73C
accent
#EF39D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F