#251779#251779
#251779 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.154 H 278.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #251779 |
|---|---|
| RGB | rgb(37, 23, 121) |
| HSL | hsl(249, 68%, 28%) |
| HSV | hsv(249, 81%, 47%) |
| CMYK | cmyk(69.4%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(17.40, 37.19, -52.81) |
| CIE-LCH | lch(17.40, 64.59, 305.16°) |
| OKLab | oklab(30.44% 0.0227 -0.1525) |
| OKLCH | oklch(30.44% 0.154 278.5) |
| XYZ | xyz(4.5194, 2.3862, 18.3079) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.29
Royal
#0C1793
ΔE00 4.17
Dark Royal Blue
#02066F
ΔE00 4.21
Indigo (survey)
#380282
ΔE00 4.39
Deep Blue
#040273
ΔE00 4.46
Navy
#000080
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251779 #6B7917
analogous
#173A79 #251779 #561779
triadic
#251779 #792517 #177925
tetradic
#251779 #79173A #6B7917 #177956
square
#251779 #79173A #6B7917 #177956
split-complementary
#251779 #795617 #3A7917
monochromatic
#08051A #150D46 #251779 #3521AC #4A32D8
Accessibility & contrast
On white
14.21
#251779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#251779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251779
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251779 | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #251779; /* rgb */ color: rgb(37, 23, 121); /* oklch */ color: oklch(30.4% 0.154 278.5);
Tailwind
colors: {
custom: {
50: '#6d57a1',
500: '#251779',
950: '#000000',
},
}SCSS
$custom: #251779; $custom-light: #6d57a1; $custom-dark: #000000;
JSON
{
"hex": "#251779",
"rgb": {
"r": 37,
"g": 23,
"b": 121
},
"hsl": {
"h": 248.571,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.30437,
"c": 0.15421,
"h": 278.5
},
"luminance": 0.02387
}Semantic roles & 50–950 ramp
primary
#251779
secondary
#9EAE3E
accent
#EB3DD2
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F