#252E8F#252E8F
#252E8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.158 H 271.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #252E8F |
|---|---|
| RGB | rgb(37, 46, 143) |
| HSL | hsl(235, 59%, 35%) |
| HSV | hsv(235, 74%, 56%) |
| CMYK | cmyk(74.1%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(24.73, 30.93, -54.58) |
| CIE-LCH | lch(24.73, 62.74, 299.54°) |
| OKLab | oklab(36.37% 0.0046 -0.1578) |
| OKLCH | oklch(36.37% 0.158 271.7) |
| XYZ | xyz(6.6962, 4.3298, 26.4641) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.66
Royal
#0C1793
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.46
Blueberry
#464196
ΔE00 6.47
Midnight Blue
#191970
ΔE00 6.77
Indigo Blue
#3A18B1
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E8F #8F8625
analogous
#25638F #252E8F #51258F
triadic
#252E8F #8F252E #2E8F25
tetradic
#252E8F #8F2563 #8F8625 #258F51
square
#252E8F #8F2563 #8F8625 #258F51
split-complementary
#252E8F #8F5125 #638F25
monochromatic
#0C0F2E #181E5E #252E8F #323EC0 #5A64D4
Accessibility & contrast
On white
11.25
#252E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#252E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E8F
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E8F | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 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: #252e8f; /* rgb */ color: rgb(37, 46, 143); /* oklch */ color: oklch(36.4% 0.158 271.7);
Tailwind
colors: {
custom: {
50: '#7067b1',
500: '#252e8f',
950: '#000000',
},
}SCSS
$custom: #252e8f; $custom-light: #7067b1; $custom-dark: #000000;
JSON
{
"hex": "#252e8f",
"rgb": {
"r": 37,
"g": 46,
"b": 143
},
"hsl": {
"h": 234.906,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.3637,
"c": 0.15787,
"h": 271.7
},
"luminance": 0.0433
}Semantic roles & 50–950 ramp
primary
#252E8F
secondary
#B9B157
accent
#D546E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80