#252F86#252F86
#252F86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.144 H 271.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #252F86 |
|---|---|
| RGB | rgb(37, 47, 134) |
| HSL | hsl(234, 57%, 34%) |
| HSV | hsv(234, 72%, 53%) |
| CMYK | cmyk(72.4%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(24.15, 26.91, -49.94) |
| CIE-LCH | lch(24.15, 56.73, 298.32°) |
| OKLab | oklab(35.69% 0.0045 -0.1442) |
| OKLCH | oklch(35.69% 0.144 271.8) |
| XYZ | xyz(6.0811, 4.1470, 23.0296) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.44
Blueberry
#464196
ΔE00 6.53
Royal
#0C1793
ΔE00 6.73
Marine
#042E60
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F86 #867C25
analogous
#255F86 #252F86 #4B2586
triadic
#252F86 #86252F #2F8625
tetradic
#252F86 #86255F #867C25 #25864B
square
#252F86 #86255F #867C25 #25864B
split-complementary
#252F86 #864B25 #5F8625
monochromatic
#0B0D26 #181E56 #252F86 #3240B6 #5562D0
Accessibility & contrast
On white
11.48
#252F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#252F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F86
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F86 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252f86; /* rgb */ color: rgb(37, 47, 134); /* oklch */ color: oklch(35.7% 0.144 271.8);
Tailwind
colors: {
custom: {
50: '#6e67aa',
500: '#252f86',
950: '#000000',
},
}SCSS
$custom: #252f86; $custom-light: #6e67aa; $custom-dark: #000000;
JSON
{
"hex": "#252f86",
"rgb": {
"r": 37,
"g": 47,
"b": 134
},
"hsl": {
"h": 233.814,
"s": 56.725,
"l": 33.529
},
"oklch": {
"l": 0.35688,
"c": 0.14425,
"h": 271.8
},
"luminance": 0.04148
}Semantic roles & 50–950 ramp
primary
#252F86
secondary
#B4AA52
accent
#D048E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F