#252DAF#252DAF
#252DAF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.5% C 0.200 H 270.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #252DAF |
|---|---|
| RGB | rgb(37, 45, 175) |
| HSL | hsl(237, 65%, 42%) |
| HSV | hsv(237, 79%, 69%) |
| CMYK | cmyk(78.9%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(27.75, 42.95, -69.10) |
| CIE-LCH | lch(27.75, 81.36, 301.87°) |
| OKLab | oklab(39.51% 0.0011 -0.2001) |
| OKLCH | oklch(39.51% 0.2 270.3) |
| XYZ | xyz(9.4366, 5.3642, 41.0872) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 4.72
True Blue
#010FCC
ΔE00 5.67
Royal
#0C1793
ΔE00 6.38
Blue Blue
#2242C7
ΔE00 6.44
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252DAF #AFA725
analogous
#2572AF #252DAF #6225AF
triadic
#252DAF #AF252D #2DAF25
tetradic
#252DAF #AF2572 #AFA725 #25AF62
square
#252DAF #AF2572 #AFA725 #25AF62
split-complementary
#252DAF #AF6225 #72AF25
monochromatic
#10134A #1A207C #252DAF #3C44D6 #6E75E0
Accessibility & contrast
On white
10.13
#252DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#252DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252DAF
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252DAF | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #252daf; /* rgb */ color: rgb(37, 45, 175); /* oklch */ color: oklch(39.5% 0.200 270.3);
Tailwind
colors: {
custom: {
50: '#7867c8',
500: '#252daf',
950: '#000000',
},
}SCSS
$custom: #252daf; $custom-light: #7867c8; $custom-dark: #000000;
JSON
{
"hex": "#252daf",
"rgb": {
"r": 37,
"g": 45,
"b": 175
},
"hsl": {
"h": 236.522,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.39514,
"c": 0.20012,
"h": 270.3
},
"luminance": 0.05365
}Semantic roles & 50–950 ramp
primary
#252DAF
secondary
#C7C169
accent
#DE40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82