#251682#251682
#251682 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.166 H 277.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #251682 |
|---|---|
| RGB | rgb(37, 22, 130) |
| HSL | hsl(248, 71%, 30%) |
| HSV | hsv(248, 83%, 51%) |
| CMYK | cmyk(71.5%, 83.1%, 0%, 49%) |
| CIE-LAB | lab(18.27, 40.60, -57.10) |
| CIE-LCH | lch(18.27, 70.06, 305.42°) |
| OKLab | oklab(31.35% 0.0206 -0.165) |
| OKLCH | oklch(31.35% 0.166 277.1) |
| XYZ | xyz(5.0778, 2.5784, 21.3448) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.93
Midnight Blue
#191970
ΔE00 3.46
Indigo (survey)
#380282
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.04
Navy
#000080
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251682 #738216
analogous
#163D82 #251682 #5B1682
triadic
#251682 #822516 #168225
tetradic
#251682 #82163D #738216 #16825B
square
#251682 #82163D #738216 #16825B
split-complementary
#251682 #825B16 #3D8216
monochromatic
#07041A #160D4E #251682 #341FB6 #4D35DD
Accessibility & contrast
On white
13.85
#251682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#251682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251682
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251682 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #251682; /* rgb */ color: rgb(37, 22, 130); /* oklch */ color: oklch(31.4% 0.166 277.1);
Tailwind
colors: {
custom: {
50: '#6f57a8',
500: '#251682',
950: '#000000',
},
}SCSS
$custom: #251682; $custom-light: #6f57a8; $custom-dark: #000000;
JSON
{
"hex": "#251682",
"rgb": {
"r": 37,
"g": 22,
"b": 130
},
"hsl": {
"h": 248.333,
"s": 71.053,
"l": 29.804
},
"oklch": {
"l": 0.31354,
"c": 0.16627,
"h": 277.1
},
"luminance": 0.02579
}Semantic roles & 50–950 ramp
primary
#251682
secondary
#A6B73D
accent
#EE3AD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F