#251684#251684
#251684 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.169 H 276.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #251684 |
|---|---|
| RGB | rgb(37, 22, 132) |
| HSL | hsl(248, 71%, 30%) |
| HSV | hsv(248, 83%, 52%) |
| CMYK | cmyk(72%, 83.3%, 0%, 48.2%) |
| CIE-LAB | lab(18.51, 41.23, -57.97) |
| CIE-LCH | lch(18.51, 71.14, 305.43°) |
| OKLab | oklab(31.59% 0.02 -0.1675) |
| OKLCH | oklch(31.59% 0.169 276.8) |
| XYZ | xyz(5.2134, 2.6326, 22.0587) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.69
Midnight Blue
#191970
ΔE00 3.72
Indigo (survey)
#380282
ΔE00 3.86
Darkblue
#00008B
ΔE00 3.94
Navy
#000080
ΔE00 4.19
Deep Blue
#040273
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251684 #758416
analogous
#163E84 #251684 #5C1684
triadic
#251684 #842516 #168425
tetradic
#251684 #84163E #758416 #16845C
square
#251684 #84163E #758416 #16845C
split-complementary
#251684 #845C16 #3E8416
monochromatic
#08051B #160D50 #251684 #341FB8 #4E37DE
Accessibility & contrast
On white
13.76
#251684 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#251684 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251684
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251684 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251684 | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #251684; /* rgb */ color: rgb(37, 22, 132); /* oklch */ color: oklch(31.6% 0.169 276.8);
Tailwind
colors: {
custom: {
50: '#7057a9',
500: '#251684',
950: '#000000',
},
}SCSS
$custom: #251684; $custom-light: #7057a9; $custom-dark: #000000;
JSON
{
"hex": "#251684",
"rgb": {
"r": 37,
"g": 22,
"b": 132
},
"hsl": {
"h": 248.182,
"s": 71.429,
"l": 30.196
},
"oklch": {
"l": 0.31589,
"c": 0.1687,
"h": 276.8
},
"luminance": 0.02633
}Semantic roles & 50–950 ramp
primary
#251684
secondary
#A8B83D
accent
#EE3AD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F