#252E88#252E88
#252E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.148 H 272.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #252E88 |
|---|---|
| RGB | rgb(37, 46, 136) |
| HSL | hsl(235, 57%, 34%) |
| HSV | hsv(235, 73%, 53%) |
| CMYK | cmyk(72.8%, 66.2%, 0%, 46.7%) |
| CIE-LAB | lab(24.08, 28.33, -51.31) |
| CIE-LCH | lch(24.08, 58.61, 298.91°) |
| OKLab | oklab(35.69% 0.0051 -0.1482) |
| OKLCH | oklch(35.69% 0.148 272) |
| XYZ | xyz(6.1824, 4.1243, 23.7580) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.53
Royal
#0C1793
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.35
Blueberry
#464196
ΔE00 6.62
Marine
#042E60
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E88 #887F25
analogous
#256088 #252E88 #4E2588
triadic
#252E88 #88252E #2E8825
tetradic
#252E88 #882560 #887F25 #25884E
square
#252E88 #882560 #887F25 #25884E
split-complementary
#252E88 #884E25 #608825
monochromatic
#0B0D28 #181E58 #252E88 #323EB8 #5661D1
Accessibility & contrast
On white
11.51
#252E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#252E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E88
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E88 | 1.00 | 11.51 | 1.83 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252e88; /* rgb */ color: rgb(37, 46, 136); /* oklch */ color: oklch(35.7% 0.148 272.0);
Tailwind
colors: {
custom: {
50: '#6e67ac',
500: '#252e88',
950: '#000000',
},
}SCSS
$custom: #252e88; $custom-light: #6e67ac; $custom-dark: #000000;
JSON
{
"hex": "#252e88",
"rgb": {
"r": 37,
"g": 46,
"b": 136
},
"hsl": {
"h": 234.545,
"s": 57.225,
"l": 33.922
},
"oklch": {
"l": 0.3569,
"c": 0.14829,
"h": 272
},
"luminance": 0.04125
}Semantic roles & 50–950 ramp
primary
#252E88
secondary
#B6AD53
accent
#D347E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F