#251683#251683
#251683 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.167 H 276.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #251683 |
|---|---|
| RGB | rgb(37, 22, 131) |
| HSL | hsl(248, 71%, 30%) |
| HSV | hsv(248, 83%, 51%) |
| CMYK | cmyk(71.8%, 83.2%, 0%, 48.6%) |
| CIE-LAB | lab(18.39, 40.92, -57.53) |
| CIE-LCH | lch(18.39, 70.60, 305.42°) |
| OKLab | oklab(31.47% 0.0203 -0.1663) |
| OKLCH | oklch(31.47% 0.167 276.9) |
| XYZ | xyz(5.1453, 2.6054, 21.7001) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.81
Midnight Blue
#191970
ΔE00 3.59
Indigo (survey)
#380282
ΔE00 3.86
Darkblue
#00008B
ΔE00 3.98
Navy
#000080
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251683 #748316
analogous
#163D83 #251683 #5C1683
triadic
#251683 #832516 #168325
tetradic
#251683 #83163D #748316 #16835C
square
#251683 #83163D #748316 #16835C
split-complementary
#251683 #835C16 #3D8316
monochromatic
#07041A #160D4F #251683 #341FB7 #4D36DD
Accessibility & contrast
On white
13.80
#251683 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#251683 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251683
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251683 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251683 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #251683; /* rgb */ color: rgb(37, 22, 131); /* oklch */ color: oklch(31.5% 0.167 276.9);
Tailwind
colors: {
custom: {
50: '#7057a8',
500: '#251683',
950: '#000000',
},
}SCSS
$custom: #251683; $custom-light: #7057a8; $custom-dark: #000000;
JSON
{
"hex": "#251683",
"rgb": {
"r": 37,
"g": 22,
"b": 131
},
"hsl": {
"h": 248.257,
"s": 71.242,
"l": 30
},
"oklch": {
"l": 0.31471,
"c": 0.16749,
"h": 276.9
},
"luminance": 0.02606
}Semantic roles & 50–950 ramp
primary
#251683
secondary
#A7B73D
accent
#EE3AD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F