#252FA7#252FA7
#252FA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.188 H 270.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #252FA7 |
|---|---|
| RGB | rgb(37, 47, 167) |
| HSL | hsl(235, 64%, 40%) |
| HSV | hsv(235, 78%, 65%) |
| CMYK | cmyk(77.8%, 71.9%, 0%, 34.5%) |
| CIE-LAB | lab(27.34, 38.98, -64.96) |
| CIE-LCH | lch(27.34, 75.76, 300.96°) |
| OKLab | oklab(38.97% 0.0013 -0.1881) |
| OKLCH | oklch(38.97% 0.188 270.4) |
| XYZ | xyz(8.7521, 5.2154, 37.0971) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Indigo Blue
#3A18B1
ΔE00 5.55
Royal
#0C1793
ΔE00 6.24
Blue Blue
#2242C7
ΔE00 6.61
Blueberry
#464196
ΔE00 6.77
True Blue
#010FCC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252FA7 #A79D25
analogous
#2570A7 #252FA7 #5C25A7
triadic
#252FA7 #A7252F #2FA725
tetradic
#252FA7 #A72570 #A79D25 #25A75C
square
#252FA7 #A72570 #A79D25 #25A75C
split-complementary
#252FA7 #A75C25 #70A725
monochromatic
#0F1343 #1A2175 #252FA7 #3743D3 #6972DE
Accessibility & contrast
On white
10.28
#252FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#252FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252FA7
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252FA7 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #252fa7; /* rgb */ color: rgb(37, 47, 167); /* oklch */ color: oklch(39.0% 0.188 270.4);
Tailwind
colors: {
custom: {
50: '#7668c2',
500: '#252fa7',
950: '#000000',
},
}SCSS
$custom: #252fa7; $custom-light: #7668c2; $custom-dark: #000000;
JSON
{
"hex": "#252fa7",
"rgb": {
"r": 37,
"g": 47,
"b": 167
},
"hsl": {
"h": 235.385,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.38973,
"c": 0.1881,
"h": 270.4
},
"luminance": 0.05216
}Semantic roles & 50–950 ramp
primary
#252FA7
secondary
#C4BC64
accent
#DA41E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82