#251484#251484
#251484 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.170 H 277.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #251484 |
|---|---|
| RGB | rgb(37, 20, 132) |
| HSL | hsl(249, 74%, 30%) |
| HSV | hsv(249, 85%, 52%) |
| CMYK | cmyk(72%, 84.8%, 0%, 48.2%) |
| CIE-LAB | lab(18.18, 42.18, -58.50) |
| CIE-LCH | lch(18.18, 72.13, 305.79°) |
| OKLab | oklab(31.37% 0.0208 -0.169) |
| OKLCH | oklch(31.37% 0.17 277) |
| XYZ | xyz(5.1766, 2.5591, 22.0465) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Indigo (survey)
#380282
ΔE00 3.56
Darkblue
#00008B
ΔE00 3.63
Navy
#000080
ΔE00 3.88
Midnight Blue
#191970
ΔE00 3.89
Deep Blue
#040273
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251484 #738414
analogous
#143B84 #251484 #5D1484
triadic
#251484 #842514 #148425
tetradic
#251484 #84143B #738414 #14845D
square
#251484 #84143B #738414 #14845D
split-complementary
#251484 #845D14 #3B8414
monochromatic
#07041B #160C4F #251484 #341CB9 #4D32E0
Accessibility & contrast
On white
13.89
#251484 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#251484 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251484
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251484 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251484 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #251484; /* rgb */ color: rgb(37, 20, 132); /* oklch */ color: oklch(31.4% 0.170 277.0);
Tailwind
colors: {
custom: {
50: '#7056a9',
500: '#251484',
950: '#000000',
},
}SCSS
$custom: #251484; $custom-light: #7056a9; $custom-dark: #000000;
JSON
{
"hex": "#251484",
"rgb": {
"r": 37,
"g": 20,
"b": 132
},
"hsl": {
"h": 249.107,
"s": 73.684,
"l": 29.804
},
"oklch": {
"l": 0.31365,
"c": 0.17031,
"h": 277
},
"luminance": 0.0256
}Semantic roles & 50–950 ramp
primary
#251484
secondary
#A6B93B
accent
#F037D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F