#252C8C#252C8C
#252C8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.156 H 272.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #252C8C |
|---|---|
| RGB | rgb(37, 44, 140) |
| HSL | hsl(236, 58%, 35%) |
| HSV | hsv(236, 74%, 55%) |
| CMYK | cmyk(73.6%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(23.96, 31.13, -53.99) |
| CIE-LCH | lch(23.96, 62.33, 299.97°) |
| OKLab | oklab(35.72% 0.0062 -0.1561) |
| OKLCH | oklch(35.72% 0.156 272.3) |
| XYZ | xyz(6.3957, 4.0875, 25.2578) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.30
Royal
#0C1793
ΔE00 5.41
Midnight Blue
#191970
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.68
Blueberry
#464196
ΔE00 6.89
Indigo Blue
#3A18B1
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C8C #8C8525
analogous
#25608C #252C8C #51258C
triadic
#252C8C #8C252C #2C8C25
tetradic
#252C8C #8C2560 #8C8525 #258C51
square
#252C8C #8C2560 #8C8525 #258C51
split-complementary
#252C8C #8C5125 #608C25
monochromatic
#0B0E2B #181D5C #252C8C #323BBC #5861D3
Accessibility & contrast
On white
11.55
#252C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#252C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C8C
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C8C | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252c8c; /* rgb */ color: rgb(37, 44, 140); /* oklch */ color: oklch(35.7% 0.156 272.3);
Tailwind
colors: {
custom: {
50: '#7065af',
500: '#252c8c',
950: '#000000',
},
}SCSS
$custom: #252c8c; $custom-light: #7065af; $custom-dark: #000000;
JSON
{
"hex": "#252c8c",
"rgb": {
"r": 37,
"g": 44,
"b": 140
},
"hsl": {
"h": 235.922,
"s": 58.192,
"l": 34.706
},
"oklch": {
"l": 0.35718,
"c": 0.1562,
"h": 272.3
},
"luminance": 0.04088
}Semantic roles & 50–950 ramp
primary
#252C8C
secondary
#B8B155
accent
#D746E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F