#252D9C#252D9C
#252D9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.176 H 271.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #252D9C |
|---|---|
| RGB | rgb(37, 45, 156) |
| HSL | hsl(236, 62%, 38%) |
| HSV | hsv(236, 76%, 61%) |
| CMYK | cmyk(76.3%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(25.77, 36.30, -60.87) |
| CIE-LCH | lch(25.77, 70.87, 300.81°) |
| OKLab | oklab(37.51% 0.0037 -0.1762) |
| OKLCH | oklch(37.51% 0.176 271.2) |
| XYZ | xyz(7.7000, 4.6696, 31.9415) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Royal
#0C1793
ΔE00 5.35
Indigo Blue
#3A18B1
ΔE00 5.96
Blueberry
#464196
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.80
Darkslateblue
#483D8B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252D9C #9C9425
analogous
#25699C #252D9C #58259C
triadic
#252D9C #9C252D #2D9C25
tetradic
#252D9C #9C2569 #9C9425 #259C58
square
#252D9C #9C2569 #9C9425 #259C58
split-complementary
#252D9C #9C5825 #699C25
monochromatic
#0E1039 #191F6B #252D9C #313BCD #626ADA
Accessibility & contrast
On white
10.86
#252D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#252D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252D9C
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252D9C | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #252d9c; /* rgb */ color: rgb(37, 45, 156); /* oklch */ color: oklch(37.5% 0.176 271.2);
Tailwind
colors: {
custom: {
50: '#7466ba',
500: '#252d9c',
950: '#000000',
},
}SCSS
$custom: #252d9c; $custom-light: #7466ba; $custom-dark: #000000;
JSON
{
"hex": "#252d9c",
"rgb": {
"r": 37,
"g": 45,
"b": 156
},
"hsl": {
"h": 235.966,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.37509,
"c": 0.17621,
"h": 271.2
},
"luminance": 0.0467
}Semantic roles & 50–950 ramp
primary
#252D9C
secondary
#BFB85E
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81