#252C72#252C72
#252C72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.119 H 273.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #252C72 |
|---|---|
| RGB | rgb(37, 44, 114) |
| HSL | hsl(235, 51%, 30%) |
| HSV | hsv(235, 68%, 45%) |
| CMYK | cmyk(67.5%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(21.61, 21.39, -41.40) |
| CIE-LCH | lch(21.61, 46.60, 297.33°) |
| OKLab | oklab(33.27% 0.0076 -0.1192) |
| OKLCH | oklch(33.27% 0.119 273.6) |
| XYZ | xyz(4.6999, 3.4092, 16.3267) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.62
Marine
#042E60
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 7.30
Navy Blue
#1B2A4A
ΔE00 8.10
Marine Blue
#01386A
ΔE00 8.26
Royal
#0C1793
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C72 #726B25
analogous
#255372 #252C72 #442572
triadic
#252C72 #72252C #2C7225
tetradic
#252C72 #722553 #726B25 #257244
square
#252C72 #722553 #726B25 #257244
split-complementary
#252C72 #724425 #537225
monochromatic
#070917 #161A44 #252C72 #343EA0 #4C57C5
Accessibility & contrast
On white
12.49
#252C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#252C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C72
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C72 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #252c72; /* rgb */ color: rgb(37, 44, 114); /* oklch */ color: oklch(33.3% 0.119 273.6);
Tailwind
colors: {
custom: {
50: '#69659b',
500: '#252c72',
950: '#000000',
},
}SCSS
$custom: #252c72; $custom-light: #69659b; $custom-dark: #000000;
JSON
{
"hex": "#252c72",
"rgb": {
"r": 37,
"g": 44,
"b": 114
},
"hsl": {
"h": 234.545,
"s": 50.993,
"l": 29.608
},
"oklch": {
"l": 0.33271,
"c": 0.1194,
"h": 273.6
},
"luminance": 0.0341
}Semantic roles & 50–950 ramp
primary
#252C72
secondary
#A59D4E
accent
#CE4DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E