#252AA8#252AA8
#252AA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.194 H 271.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #252AA8 |
|---|---|
| RGB | rgb(37, 42, 168) |
| HSL | hsl(238, 64%, 40%) |
| HSV | hsv(238, 78%, 66%) |
| CMYK | cmyk(78%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(26.38, 42.30, -67.16) |
| CIE-LCH | lch(26.38, 79.37, 302.21°) |
| OKLab | oklab(38.32% 0.0034 -0.1945) |
| OKLCH | oklch(38.32% 0.194 271) |
| XYZ | xyz(8.6564, 4.8754, 37.5230) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.36
Royal
#0C1793
ΔE00 5.27
True Blue
#010FCC
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 5.77
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252AA8 #A8A325
analogous
#256BA8 #252AA8 #6225A8
triadic
#252AA8 #A8252A #2AA825
tetradic
#252AA8 #A8256B #A8A325 #25A862
square
#252AA8 #A8256B #A8A325 #25A862
split-complementary
#252AA8 #A86225 #6BA825
monochromatic
#0F1144 #1A1D76 #252AA8 #373DD3 #696EDE
Accessibility & contrast
On white
10.63
#252AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#252AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252AA8
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252AA8 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #252aa8; /* rgb */ color: rgb(37, 42, 168); /* oklch */ color: oklch(38.3% 0.194 271.0);
Tailwind
colors: {
custom: {
50: '#7765c3',
500: '#252aa8',
950: '#000000',
},
}SCSS
$custom: #252aa8; $custom-light: #7765c3; $custom-dark: #000000;
JSON
{
"hex": "#252aa8",
"rgb": {
"r": 37,
"g": 42,
"b": 168
},
"hsl": {
"h": 237.71,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.38316,
"c": 0.19449,
"h": 271
},
"luminance": 0.04876
}Semantic roles & 50–950 ramp
primary
#252AA8
secondary
#C4C065
accent
#E141E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82