#251885#251885
#251885 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.168 H 276.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #251885 |
|---|---|
| RGB | rgb(37, 24, 133) |
| HSL | hsl(247, 69%, 31%) |
| HSV | hsv(247, 82%, 52%) |
| CMYK | cmyk(72.2%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(18.97, 40.56, -57.84) |
| CIE-LCH | lch(18.97, 70.64, 305.04°) |
| OKLab | oklab(31.94% 0.0188 -0.1672) |
| OKLCH | oklch(31.94% 0.168 276.4) |
| XYZ | xyz(5.3218, 2.7395, 22.4341) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.55
Midnight Blue
#191970
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 4.19
Darkblue
#00008B
ΔE00 4.24
Navy
#000080
ΔE00 4.54
Cobalt Blue
#030AA7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251885 #788518
analogous
#184185 #251885 #5B1885
triadic
#251885 #852518 #188525
tetradic
#251885 #851841 #788518 #18855B
square
#251885 #851841 #788518 #18855B
split-complementary
#251885 #855B18 #418518
monochromatic
#08051D #170F51 #251885 #3321B9 #4F3CDC
Accessibility & contrast
On white
13.57
#251885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#251885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251885
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251885 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251885; /* rgb */ color: rgb(37, 24, 133); /* oklch */ color: oklch(31.9% 0.168 276.4);
Tailwind
colors: {
custom: {
50: '#7058aa',
500: '#251885',
950: '#000000',
},
}SCSS
$custom: #251885; $custom-light: #7058aa; $custom-dark: #000000;
JSON
{
"hex": "#251885",
"rgb": {
"r": 37,
"g": 24,
"b": 133
},
"hsl": {
"h": 247.156,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31943,
"c": 0.16822,
"h": 276.4
},
"luminance": 0.0274
}Semantic roles & 50–950 ramp
primary
#251885
secondary
#AAB940
accent
#EC3CD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F