#251585#251585
#251585 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.171 H 276.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #251585 |
|---|---|
| RGB | rgb(37, 21, 133) |
| HSL | hsl(249, 73%, 30%) |
| HSV | hsv(249, 84%, 52%) |
| CMYK | cmyk(72.2%, 84.2%, 0%, 47.8%) |
| CIE-LAB | lab(18.46, 42.03, -58.67) |
| CIE-LCH | lch(18.46, 72.17, 305.62°) |
| OKLab | oklab(31.59% 0.0201 -0.1695) |
| OKLCH | oklch(31.59% 0.171 276.8) |
| XYZ | xyz(5.2634, 2.6226, 22.4146) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.61
Indigo (survey)
#380282
ΔE00 3.71
Darkblue
#00008B
ΔE00 3.74
Midnight Blue
#191970
ΔE00 3.93
Navy
#000080
ΔE00 4.05
Deep Blue
#040273
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251585 #758515
analogous
#153D85 #251585 #5D1585
triadic
#251585 #852515 #158525
tetradic
#251585 #85153D #758515 #15855D
square
#251585 #85153D #758515 #15855D
split-complementary
#251585 #855D15 #3D8515
monochromatic
#08041B #160D50 #251585 #341DBA #4E35DF
Accessibility & contrast
On white
13.77
#251585 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#251585 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251585
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251585 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251585 | 1.00 | 13.77 | 1.52 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003188
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #251585; /* rgb */ color: rgb(37, 21, 133); /* oklch */ color: oklch(31.6% 0.171 276.8);
Tailwind
colors: {
custom: {
50: '#7057aa',
500: '#251585',
950: '#000000',
},
}SCSS
$custom: #251585; $custom-light: #7057aa; $custom-dark: #000000;
JSON
{
"hex": "#251585",
"rgb": {
"r": 37,
"g": 21,
"b": 133
},
"hsl": {
"h": 248.571,
"s": 72.727,
"l": 30.196
},
"oklch": {
"l": 0.31594,
"c": 0.17073,
"h": 276.8
},
"luminance": 0.02623
}Semantic roles & 50–950 ramp
primary
#251585
secondary
#A8B93C
accent
#EF38D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F