#252F71#252F71
#252F71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.114 H 272.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #252F71 |
|---|---|
| RGB | rgb(37, 47, 113) |
| HSL | hsl(232, 51%, 29%) |
| HSV | hsv(232, 67%, 44%) |
| CMYK | cmyk(67.3%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(22.37, 18.91, -39.54) |
| CIE-LCH | lch(22.37, 43.83, 295.57°) |
| OKLab | oklab(33.81% 0.0046 -0.1136) |
| OKLCH | oklch(33.81% 0.114 272.3) |
| XYZ | xyz(4.7591, 3.6182, 16.0672) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.57
Midnight Blue
#191970
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.22
Marine Blue
#01386A
ΔE00 7.34
Navy Blue
#1B2A4A
ΔE00 7.59
Blueberry
#464196
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F71 #716725
analogous
#255571 #252F71 #412571
triadic
#252F71 #71252F #2F7125
tetradic
#252F71 #712555 #716725 #257141
square
#252F71 #712555 #716725 #257141
split-complementary
#252F71 #714125 #557125
monochromatic
#080A17 #161C43 #252F71 #34429F #4C5CC4
Accessibility & contrast
On white
12.18
#252F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#252F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F71
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F71 | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252f71; /* rgb */ color: rgb(37, 47, 113); /* oklch */ color: oklch(33.8% 0.114 272.3);
Tailwind
colors: {
custom: {
50: '#69679a',
500: '#252f71',
950: '#000000',
},
}SCSS
$custom: #252f71; $custom-light: #69679a; $custom-dark: #000000;
JSON
{
"hex": "#252f71",
"rgb": {
"r": 37,
"g": 47,
"b": 113
},
"hsl": {
"h": 232.105,
"s": 50.667,
"l": 29.412
},
"oklch": {
"l": 0.33807,
"c": 0.11373,
"h": 272.3
},
"luminance": 0.03619
}Semantic roles & 50–950 ramp
primary
#252F71
secondary
#A4984E
accent
#C84EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E