#252F8F#252F8F
#252F8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.157 H 271.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #252F8F |
|---|---|
| RGB | rgb(37, 47, 143) |
| HSL | hsl(234, 59%, 35%) |
| HSV | hsv(234, 74%, 56%) |
| CMYK | cmyk(74.1%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.98, 30.28, -54.18) |
| CIE-LCH | lch(24.98, 62.07, 299.20°) |
| OKLab | oklab(36.55% 0.0039 -0.1566) |
| OKLCH | oklch(36.55% 0.157 271.4) |
| XYZ | xyz(6.7357, 4.4088, 26.4773) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 6.12
Blueberry
#464196
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.34
Midnight Blue
#191970
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F8F #8F8525
analogous
#25648F #252F8F #50258F
triadic
#252F8F #8F252F #2F8F25
tetradic
#252F8F #8F2564 #8F8525 #258F50
square
#252F8F #8F2564 #8F8525 #258F50
split-complementary
#252F8F #8F5025 #648F25
monochromatic
#0C0F2E #181F5E #252F8F #323FC0 #5A66D4
Accessibility & contrast
On white
11.16
#252F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#252F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F8F
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F8F | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #252f8f; /* rgb */ color: rgb(37, 47, 143); /* oklch */ color: oklch(36.5% 0.157 271.4);
Tailwind
colors: {
custom: {
50: '#7067b1',
500: '#252f8f',
950: '#000000',
},
}SCSS
$custom: #252f8f; $custom-light: #7067b1; $custom-dark: #000000;
JSON
{
"hex": "#252f8f",
"rgb": {
"r": 37,
"g": 47,
"b": 143
},
"hsl": {
"h": 234.34,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36549,
"c": 0.15667,
"h": 271.4
},
"luminance": 0.0441
}Semantic roles & 50–950 ramp
primary
#252F8F
secondary
#B9B057
accent
#D346E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80