#252C8F#252C8F
#252C8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.160 H 272.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #252C8F |
|---|---|
| RGB | rgb(37, 44, 143) |
| HSL | hsl(236, 59%, 35%) |
| HSV | hsv(236, 74%, 56%) |
| CMYK | cmyk(74.1%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.25, 32.23, -55.38) |
| CIE-LCH | lch(24.25, 64.08, 300.20°) |
| OKLab | oklab(36.02% 0.0058 -0.1601) |
| OKLCH | oklch(36.02% 0.16 272.1) |
| XYZ | xyz(6.6199, 4.1772, 26.4387) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.97
Royal
#0C1793
ΔE00 5.25
Midnight Blue
#191970
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.75
Blueberry
#464196
ΔE00 6.85
Indigo Blue
#3A18B1
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C8F #8F8825
analogous
#25618F #252C8F #53258F
triadic
#252C8F #8F252C #2C8F25
tetradic
#252C8F #8F2561 #8F8825 #258F53
square
#252C8F #8F2561 #8F8825 #258F53
split-complementary
#252C8F #8F5325 #618F25
monochromatic
#0C0E2E #181D5E #252C8F #323BC0 #5A62D4
Accessibility & contrast
On white
11.44
#252C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#252C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C8F
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C8F | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #252c8f; /* rgb */ color: rgb(37, 44, 143); /* oklch */ color: oklch(36.0% 0.160 272.1);
Tailwind
colors: {
custom: {
50: '#7065b1',
500: '#252c8f',
950: '#000000',
},
}SCSS
$custom: #252c8f; $custom-light: #7065b1; $custom-dark: #000000;
JSON
{
"hex": "#252c8f",
"rgb": {
"r": 37,
"g": 44,
"b": 143
},
"hsl": {
"h": 236.038,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36018,
"c": 0.16025,
"h": 272.1
},
"luminance": 0.04178
}Semantic roles & 50–950 ramp
primary
#252C8F
secondary
#B9B357
accent
#D846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80