#252AA9#252AA9
#252AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 270.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #252AA9 |
|---|---|
| RGB | rgb(37, 42, 169) |
| HSL | hsl(238, 64%, 40%) |
| HSV | hsv(238, 78%, 66%) |
| CMYK | cmyk(78.1%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(26.48, 42.64, -67.58) |
| CIE-LCH | lch(26.48, 79.91, 302.25°) |
| OKLab | oklab(38.42% 0.0032 -0.1957) |
| OKLCH | oklch(38.42% 0.196 270.9) |
| XYZ | xyz(8.7499, 4.9128, 38.0155) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.31
Royal
#0C1793
ΔE00 5.35
True Blue
#010FCC
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252AA9 #A9A425
analogous
#256CA9 #252AA9 #6225A9
triadic
#252AA9 #A9252A #2AA925
tetradic
#252AA9 #A9256C #A9A425 #25A962
square
#252AA9 #A9256C #A9A425 #25A962
split-complementary
#252AA9 #A96225 #6CA925
monochromatic
#0F1145 #1A1E77 #252AA9 #383ED3 #6A6EDE
Accessibility & contrast
On white
10.59
#252AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#252AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252AA9
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252AA9 | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #252aa9; /* rgb */ color: rgb(37, 42, 169); /* oklch */ color: oklch(38.4% 0.196 270.9);
Tailwind
colors: {
custom: {
50: '#7765c4',
500: '#252aa9',
950: '#000000',
},
}SCSS
$custom: #252aa9; $custom-light: #7765c4; $custom-dark: #000000;
JSON
{
"hex": "#252aa9",
"rgb": {
"r": 37,
"g": 42,
"b": 169
},
"hsl": {
"h": 237.727,
"s": 64.078,
"l": 40.392
},
"oklch": {
"l": 0.38425,
"c": 0.19572,
"h": 270.9
},
"luminance": 0.04914
}Semantic roles & 50–950 ramp
primary
#252AA9
secondary
#C4C165
accent
#E141E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82