#252E85#252E85
#252E85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.144 H 272.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #252E85 |
|---|---|
| RGB | rgb(37, 46, 133) |
| HSL | hsl(234, 56%, 33%) |
| HSV | hsv(234, 72%, 52%) |
| CMYK | cmyk(72.2%, 65.4%, 0%, 47.8%) |
| CIE-LAB | lab(23.80, 27.21, -49.88) |
| CIE-LCH | lch(23.80, 56.82, 298.61°) |
| OKLab | oklab(35.41% 0.0053 -0.144) |
| OKLCH | oklch(35.41% 0.144 272.1) |
| XYZ | xyz(5.9722, 4.0402, 22.6508) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.93
Midnight Blue
#191970
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.35
Royal
#0C1793
ΔE00 6.53
Blueberry
#464196
ΔE00 6.73
Marine
#042E60
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E85 #857C25
analogous
#255E85 #252E85 #4C2585
triadic
#252E85 #85252E #2E8525
tetradic
#252E85 #85255E #857C25 #25854C
square
#252E85 #85255E #857C25 #25854C
split-complementary
#252E85 #854C25 #5E8525
monochromatic
#0A0D25 #181D55 #252E85 #323FB5 #5560D0
Accessibility & contrast
On white
11.61
#252E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#252E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E85
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E85 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252e85; /* rgb */ color: rgb(37, 46, 133); /* oklch */ color: oklch(35.4% 0.144 272.1);
Tailwind
colors: {
custom: {
50: '#6e66a9',
500: '#252e85',
950: '#000000',
},
}SCSS
$custom: #252e85; $custom-light: #6e66a9; $custom-dark: #000000;
JSON
{
"hex": "#252e85",
"rgb": {
"r": 37,
"g": 46,
"b": 133
},
"hsl": {
"h": 234.375,
"s": 56.471,
"l": 33.333
},
"oklch": {
"l": 0.35405,
"c": 0.14412,
"h": 272.1
},
"luminance": 0.04041
}Semantic roles & 50–950 ramp
primary
#252E85
secondary
#B4AB52
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F