#252C82#252C82
#252C82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.142 H 272.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #252C82 |
|---|---|
| RGB | rgb(37, 44, 130) |
| HSL | hsl(235, 56%, 33%) |
| HSV | hsv(235, 72%, 51%) |
| CMYK | cmyk(71.5%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(23.02, 27.43, -49.28) |
| CIE-LCH | lch(23.02, 56.40, 299.10°) |
| OKLab | oklab(34.74% 0.007 -0.1423) |
| OKLCH | oklch(34.74% 0.142 272.8) |
| XYZ | xyz(5.6915, 3.8058, 21.5494) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.46
Royal
#0C1793
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.63
Blueberry
#464196
ΔE00 7.21
Marine
#042E60
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C82 #827B25
analogous
#255A82 #252C82 #4C2582
triadic
#252C82 #82252C #2C8225
tetradic
#252C82 #82255A #827B25 #25824C
square
#252C82 #82255A #827B25 #25824C
split-complementary
#252C82 #824C25 #5A8225
monochromatic
#0A0C23 #171C52 #252C82 #333CB2 #535DCE
Accessibility & contrast
On white
11.92
#252C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#252C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C82
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C82 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #252c82; /* rgb */ color: rgb(37, 44, 130); /* oklch */ color: oklch(34.7% 0.142 272.8);
Tailwind
colors: {
custom: {
50: '#6d65a7',
500: '#252c82',
950: '#000000',
},
}SCSS
$custom: #252c82; $custom-light: #6d65a7; $custom-dark: #000000;
JSON
{
"hex": "#252c82",
"rgb": {
"r": 37,
"g": 44,
"b": 130
},
"hsl": {
"h": 235.484,
"s": 55.689,
"l": 32.745
},
"oklch": {
"l": 0.34745,
"c": 0.14245,
"h": 272.8
},
"luminance": 0.03806
}Semantic roles & 50–950 ramp
primary
#252C82
secondary
#B2AB50
accent
#D449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F