#252AA7#252AA7
#252AA7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.193 H 271.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #252AA7 |
|---|---|
| RGB | rgb(37, 42, 167) |
| HSL | hsl(238, 64%, 40%) |
| HSV | hsv(238, 78%, 65%) |
| CMYK | cmyk(77.8%, 74.9%, 0%, 34.5%) |
| CIE-LAB | lab(26.27, 41.96, -66.73) |
| CIE-LCH | lch(26.27, 78.83, 302.16°) |
| OKLab | oklab(38.21% 0.0035 -0.1932) |
| OKLCH | oklch(38.21% 0.193 271) |
| XYZ | xyz(8.5636, 4.8383, 37.0343) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.43
Royal
#0C1793
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.77
True Blue
#010FCC
ΔE00 5.87
Ultramarine
#2000B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252AA7 #A7A225
analogous
#256BA7 #252AA7 #6125A7
triadic
#252AA7 #A7252A #2AA725
tetradic
#252AA7 #A7256B #A7A225 #25A761
square
#252AA7 #A7256B #A7A225 #25A761
split-complementary
#252AA7 #A76125 #6BA725
monochromatic
#0F1143 #1A1D75 #252AA7 #373DD3 #696DDE
Accessibility & contrast
On white
10.67
#252AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#252AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252AA7
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252AA7 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #252aa7; /* rgb */ color: rgb(37, 42, 167); /* oklch */ color: oklch(38.2% 0.193 271.0);
Tailwind
colors: {
custom: {
50: '#7765c2',
500: '#252aa7',
950: '#000000',
},
}SCSS
$custom: #252aa7; $custom-light: #7765c2; $custom-dark: #000000;
JSON
{
"hex": "#252aa7",
"rgb": {
"r": 37,
"g": 42,
"b": 167
},
"hsl": {
"h": 237.692,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.38208,
"c": 0.19325,
"h": 271
},
"luminance": 0.04839
}Semantic roles & 50–950 ramp
primary
#252AA7
secondary
#C4C064
accent
#E041E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82