#252F88#252F88
#252F88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.147 H 271.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #252F88 |
|---|---|
| RGB | rgb(37, 47, 136) |
| HSL | hsl(234, 57%, 34%) |
| HSV | hsv(234, 73%, 53%) |
| CMYK | cmyk(72.8%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.33, 27.66, -50.89) |
| CIE-LCH | lch(24.33, 57.92, 298.53°) |
| OKLab | oklab(35.88% 0.0044 -0.147) |
| OKLCH | oklch(35.88% 0.147 271.7) |
| XYZ | xyz(6.2219, 4.2033, 23.7712) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 6.23
Blueberry
#464196
ΔE00 6.45
Midnight Blue
#191970
ΔE00 6.54
Royal
#0C1793
ΔE00 6.57
Marine
#042E60
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F88 #887E25
analogous
#256188 #252F88 #4D2588
triadic
#252F88 #88252F #2F8825
tetradic
#252F88 #882561 #887E25 #25884D
square
#252F88 #882561 #887E25 #25884D
split-complementary
#252F88 #884D25 #618825
monochromatic
#0B0E28 #181E58 #252F88 #3240B8 #5663D1
Accessibility & contrast
On white
11.41
#252F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#252F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F88
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F88 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #252f88; /* rgb */ color: rgb(37, 47, 136); /* oklch */ color: oklch(35.9% 0.147 271.7);
Tailwind
colors: {
custom: {
50: '#6e67ac',
500: '#252f88',
950: '#000000',
},
}SCSS
$custom: #252f88; $custom-light: #6e67ac; $custom-dark: #000000;
JSON
{
"hex": "#252f88",
"rgb": {
"r": 37,
"g": 47,
"b": 136
},
"hsl": {
"h": 233.939,
"s": 57.225,
"l": 33.922
},
"oklch": {
"l": 0.35877,
"c": 0.14704,
"h": 271.7
},
"luminance": 0.04204
}Semantic roles & 50–950 ramp
primary
#252F88
secondary
#B6AC53
accent
#D147E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F