#251A8A#251A8A
#251A8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.173 H 275.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #251A8A |
|---|---|
| RGB | rgb(37, 26, 138) |
| HSL | hsl(246, 68%, 32%) |
| HSV | hsv(246, 81%, 54%) |
| CMYK | cmyk(73.2%, 81.2%, 0%, 45.9%) |
| CIE-LAB | lab(19.91, 41.14, -59.42) |
| CIE-LCH | lch(19.91, 72.27, 304.70°) |
| OKLab | oklab(32.77% 0.0165 -0.1718) |
| OKLCH | oklch(32.77% 0.173 275.5) |
| XYZ | xyz(5.7183, 2.9665, 24.3111) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.08
Midnight Blue
#191970
ΔE00 4.31
Darkblue
#00008B
ΔE00 4.48
Cobalt Blue
#030AA7
ΔE00 4.57
Indigo (survey)
#380282
ΔE00 4.61
Navy
#000080
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251A8A #7F8A1A
analogous
#1A478A #251A8A #5D1A8A
triadic
#251A8A #8A251A #1A8A25
tetradic
#251A8A #8A1A47 #7F8A1A #1A8A5D
square
#251A8A #8A1A47 #7F8A1A #1A8A5D
split-complementary
#251A8A #8A5D1A #478A1A
monochromatic
#090723 #171057 #251A8A #3324BD #5243DC
Accessibility & contrast
On white
13.18
#251A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#251A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251A8A
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251A8A | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #251a8a; /* rgb */ color: rgb(37, 26, 138); /* oklch */ color: oklch(32.8% 0.173 275.5);
Tailwind
colors: {
custom: {
50: '#715aad',
500: '#251a8a',
950: '#000000',
},
}SCSS
$custom: #251a8a; $custom-light: #715aad; $custom-dark: #000000;
JSON
{
"hex": "#251a8a",
"rgb": {
"r": 37,
"g": 26,
"b": 138
},
"hsl": {
"h": 245.893,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.3277,
"c": 0.17259,
"h": 275.5
},
"luminance": 0.02967
}Semantic roles & 50–950 ramp
primary
#251A8A
secondary
#B1BD43
accent
#EB3DDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F