#252C8E#252C8E
#252C8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.159 H 272.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #252C8E |
|---|---|
| RGB | rgb(37, 44, 142) |
| HSL | hsl(236, 59%, 35%) |
| HSV | hsv(236, 74%, 56%) |
| CMYK | cmyk(73.9%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.15, 31.87, -54.92) |
| CIE-LCH | lch(24.15, 63.50, 300.13°) |
| OKLab | oklab(35.92% 0.006 -0.1588) |
| OKLCH | oklch(35.92% 0.159 272.1) |
| XYZ | xyz(6.5445, 4.1470, 26.0415) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.08
Royal
#0C1793
ΔE00 5.30
Midnight Blue
#191970
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.73
Blueberry
#464196
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C8E #8E8725
analogous
#25608E #252C8E #52258E
triadic
#252C8E #8E252C #2C8E25
tetradic
#252C8E #8E2560 #8E8725 #258E52
square
#252C8E #8E2560 #8E8725 #258E52
split-complementary
#252C8E #8E5225 #608E25
monochromatic
#0C0E2D #181D5D #252C8E #323BBF #5A62D4
Accessibility & contrast
On white
11.48
#252C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#252C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C8E
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C8E | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252c8e; /* rgb */ color: rgb(37, 44, 142); /* oklch */ color: oklch(35.9% 0.159 272.1);
Tailwind
colors: {
custom: {
50: '#7065b0',
500: '#252c8e',
950: '#000000',
},
}SCSS
$custom: #252c8e; $custom-light: #7065b0; $custom-dark: #000000;
JSON
{
"hex": "#252c8e",
"rgb": {
"r": 37,
"g": 44,
"b": 142
},
"hsl": {
"h": 236,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.35918,
"c": 0.1589,
"h": 272.1
},
"luminance": 0.04148
}Semantic roles & 50–950 ramp
primary
#252C8E
secondary
#B9B256
accent
#D746E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80