#252F89#252F89
#252F89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.148 H 271.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #252F89 |
|---|---|
| RGB | rgb(37, 47, 137) |
| HSL | hsl(234, 57%, 34%) |
| HSV | hsv(234, 73%, 54%) |
| CMYK | cmyk(73%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(24.42, 28.04, -51.36) |
| CIE-LCH | lch(24.42, 58.52, 298.63°) |
| OKLab | oklab(35.97% 0.0043 -0.1484) |
| OKLCH | oklch(35.97% 0.148 271.7) |
| XYZ | xyz(6.2933, 4.2319, 24.1472) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 6.24
Blueberry
#464196
ΔE00 6.42
Royal
#0C1793
ΔE00 6.49
Midnight Blue
#191970
ΔE00 6.59
Marine
#042E60
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F89 #897F25
analogous
#256189 #252F89 #4D2589
triadic
#252F89 #89252F #2F8925
tetradic
#252F89 #892561 #897F25 #25894D
square
#252F89 #892561 #897F25 #25894D
split-complementary
#252F89 #894D25 #618925
monochromatic
#0B0E29 #181E59 #252F89 #3240B9 #5763D2
Accessibility & contrast
On white
11.37
#252F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#252F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F89
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F89 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #252f89; /* rgb */ color: rgb(37, 47, 137); /* oklch */ color: oklch(36.0% 0.148 271.7);
Tailwind
colors: {
custom: {
50: '#6f67ac',
500: '#252f89',
950: '#000000',
},
}SCSS
$custom: #252f89; $custom-light: #6f67ac; $custom-dark: #000000;
JSON
{
"hex": "#252f89",
"rgb": {
"r": 37,
"g": 47,
"b": 137
},
"hsl": {
"h": 234,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.35972,
"c": 0.14843,
"h": 271.7
},
"luminance": 0.04232
}Semantic roles & 50–950 ramp
primary
#252F89
secondary
#B6AC54
accent
#D147E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F