#252AA6#252AA6
#252AA6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.192 H 271.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #252AA6 |
|---|---|
| RGB | rgb(37, 42, 166) |
| HSL | hsl(238, 64%, 40%) |
| HSV | hsv(238, 78%, 65%) |
| CMYK | cmyk(77.7%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(26.16, 41.61, -66.30) |
| CIE-LCH | lch(26.16, 78.28, 302.11°) |
| OKLab | oklab(38.1% 0.0037 -0.192) |
| OKLCH | oklch(38.1% 0.192 271.1) |
| XYZ | xyz(8.4715, 4.8015, 36.5493) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.97
Indigo Blue
#3A18B1
ΔE00 4.49
Royal
#0C1793
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 5.77
True Blue
#010FCC
ΔE00 5.98
Royal Blue (survey)
#0504AA
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252AA6 #A6A125
analogous
#256BA6 #252AA6 #6025A6
triadic
#252AA6 #A6252A #2AA625
tetradic
#252AA6 #A6256B #A6A125 #25A660
square
#252AA6 #A6256B #A6A125 #25A660
split-complementary
#252AA6 #A66025 #6BA625
monochromatic
#0F1142 #1A1D74 #252AA6 #363CD2 #686DDD
Accessibility & contrast
On white
10.71
#252AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#252AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252AA6
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252AA6 | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #252aa6; /* rgb */ color: rgb(37, 42, 166); /* oklch */ color: oklch(38.1% 0.192 271.1);
Tailwind
colors: {
custom: {
50: '#7665c2',
500: '#252aa6',
950: '#000000',
},
}SCSS
$custom: #252aa6; $custom-light: #7665c2; $custom-dark: #000000;
JSON
{
"hex": "#252aa6",
"rgb": {
"r": 37,
"g": 42,
"b": 166
},
"hsl": {
"h": 237.674,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.38099,
"c": 0.19202,
"h": 271.1
},
"luminance": 0.04802
}Semantic roles & 50–950 ramp
primary
#252AA6
secondary
#C3C064
accent
#E041E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82