#252AAC#252AAC
#252AAC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.199 H 270.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #252AAC |
|---|---|
| RGB | rgb(37, 42, 172) |
| HSL | hsl(238, 65%, 41%) |
| HSV | hsv(238, 78%, 67%) |
| CMYK | cmyk(78.5%, 75.6%, 0%, 32.5%) |
| CIE-LAB | lab(26.81, 43.66, -68.85) |
| CIE-LCH | lch(26.81, 81.52, 302.38°) |
| OKLab | oklab(38.75% 0.0027 -0.1994) |
| OKLCH | oklch(38.75% 0.199 270.8) |
| XYZ | xyz(9.0348, 5.0268, 39.5158) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.16
True Blue
#010FCC
ΔE00 5.37
Royal
#0C1793
ΔE00 5.59
Cobalt Blue
#030AA7
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252AAC #ACA725
analogous
#256DAC #252AAC #6325AC
triadic
#252AAC #AC252A #2AAC25
tetradic
#252AAC #AC256D #ACA725 #25AC63
square
#252AAC #AC256D #ACA725 #25AC63
split-complementary
#252AAC #AC6325 #6DAC25
monochromatic
#0F1147 #1A1E7A #252AAC #3A3FD5 #6C70DF
Accessibility & contrast
On white
10.47
#252AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#252AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252AAC
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252AAC | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #252aac; /* rgb */ color: rgb(37, 42, 172); /* oklch */ color: oklch(38.8% 0.199 270.8);
Tailwind
colors: {
custom: {
50: '#7865c6',
500: '#252aac',
950: '#000000',
},
}SCSS
$custom: #252aac; $custom-light: #7865c6; $custom-dark: #000000;
JSON
{
"hex": "#252aac",
"rgb": {
"r": 37,
"g": 42,
"b": 172
},
"hsl": {
"h": 237.778,
"s": 64.593,
"l": 40.98
},
"oklch": {
"l": 0.38753,
"c": 0.19939,
"h": 270.8
},
"luminance": 0.05028
}Semantic roles & 50–950 ramp
primary
#252AAC
secondary
#C6C267
accent
#E140E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82