#251785#251785
#251785 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.169 H 276.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #251785 |
|---|---|
| RGB | rgb(37, 23, 133) |
| HSL | hsl(248, 71%, 31%) |
| HSV | hsv(248, 83%, 52%) |
| CMYK | cmyk(72.2%, 82.7%, 0%, 47.8%) |
| CIE-LAB | lab(18.80, 41.06, -58.12) |
| CIE-LCH | lch(18.80, 71.16, 305.24°) |
| OKLab | oklab(31.82% 0.0192 -0.168) |
| OKLCH | oklch(31.82% 0.169 276.5) |
| XYZ | xyz(5.3016, 2.6991, 22.4273) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.56
Midnight Blue
#191970
ΔE00 3.77
Indigo (survey)
#380282
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.06
Navy
#000080
ΔE00 4.37
Deep Blue
#040273
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251785 #778517
analogous
#174085 #251785 #5C1785
triadic
#251785 #852517 #178525
tetradic
#251785 #851740 #778517 #17855C
square
#251785 #851740 #778517 #17855C
split-complementary
#251785 #855C17 #408517
monochromatic
#08051D #160E51 #251785 #3420B9 #4E3ADD
Accessibility & contrast
On white
13.64
#251785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#251785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251785
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251785 | 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)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #251785; /* rgb */ color: rgb(37, 23, 133); /* oklch */ color: oklch(31.8% 0.169 276.5);
Tailwind
colors: {
custom: {
50: '#7058aa',
500: '#251785',
950: '#000000',
},
}SCSS
$custom: #251785; $custom-light: #7058aa; $custom-dark: #000000;
JSON
{
"hex": "#251785",
"rgb": {
"r": 37,
"g": 23,
"b": 133
},
"hsl": {
"h": 247.636,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.31823,
"c": 0.16908,
"h": 276.5
},
"luminance": 0.027
}Semantic roles & 50–950 ramp
primary
#251785
secondary
#A9B93F
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F