#252CA0#252CA0
#252CA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.182 H 271.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #252CA0 |
|---|---|
| RGB | rgb(37, 44, 160) |
| HSL | hsl(237, 62%, 39%) |
| HSV | hsv(237, 77%, 63%) |
| CMYK | cmyk(76.9%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(25.96, 38.33, -63.00) |
| CIE-LCH | lch(25.96, 73.75, 301.32°) |
| OKLab | oklab(37.77% 0.0037 -0.1824) |
| OKLCH | oklch(37.77% 0.182 271.2) |
| XYZ | xyz(8.0066, 4.7319, 33.7423) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Royal
#0C1793
ΔE00 5.22
Indigo Blue
#3A18B1
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 6.38
Royal Blue (survey)
#0504AA
ΔE00 6.89
True Blue
#010FCC
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252CA0 #A09925
analogous
#2569A0 #252CA0 #5B25A0
triadic
#252CA0 #A0252C #2CA025
tetradic
#252CA0 #A02569 #A09925 #25A05B
square
#252CA0 #A02569 #A09925 #25A05B
split-complementary
#252CA0 #A05B25 #69A025
monochromatic
#0E113D #1A1E6E #252CA0 #323BD0 #646BDB
Accessibility & contrast
On white
10.79
#252CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#252CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252CA0
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252CA0 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #252ca0; /* rgb */ color: rgb(37, 44, 160); /* oklch */ color: oklch(37.8% 0.182 271.2);
Tailwind
colors: {
custom: {
50: '#7566bd',
500: '#252ca0',
950: '#000000',
},
}SCSS
$custom: #252ca0; $custom-light: #7566bd; $custom-dark: #000000;
JSON
{
"hex": "#252ca0",
"rgb": {
"r": 37,
"g": 44,
"b": 160
},
"hsl": {
"h": 236.585,
"s": 62.437,
"l": 38.627
},
"oklch": {
"l": 0.37765,
"c": 0.18242,
"h": 271.2
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#252CA0
secondary
#C1BB60
accent
#DC42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81