#252B72#252B72
#252B72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.121 H 274.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #252B72 |
|---|---|
| RGB | rgb(37, 43, 114) |
| HSL | hsl(235, 51%, 30%) |
| HSV | hsv(235, 68%, 45%) |
| CMYK | cmyk(67.5%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(21.34, 22.09, -41.85) |
| CIE-LCH | lch(21.34, 47.32, 297.83°) |
| OKLab | oklab(33.07% 0.0085 -0.1205) |
| OKLCH | oklch(33.07% 0.121 274.1) |
| XYZ | xyz(4.6631, 3.3356, 16.3144) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.28
Marine
#042E60
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 7.39
Royal
#0C1793
ΔE00 8.10
Navy Blue
#1B2A4A
ΔE00 8.24
Blueberry
#464196
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B72 #726C25
analogous
#255172 #252B72 #462572
triadic
#252B72 #72252B #2B7225
tetradic
#252B72 #722551 #726C25 #257246
square
#252B72 #722551 #726C25 #257246
split-complementary
#252B72 #724625 #517225
monochromatic
#070917 #161A44 #252B72 #343CA0 #4C56C5
Accessibility & contrast
On white
12.60
#252B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#252B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B72
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B72 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #252b72; /* rgb */ color: rgb(37, 43, 114); /* oklch */ color: oklch(33.1% 0.121 274.1);
Tailwind
colors: {
custom: {
50: '#6a649b',
500: '#252b72',
950: '#000000',
},
}SCSS
$custom: #252b72; $custom-light: #6a649b; $custom-dark: #000000;
JSON
{
"hex": "#252b72",
"rgb": {
"r": 37,
"g": 43,
"b": 114
},
"hsl": {
"h": 235.325,
"s": 50.993,
"l": 29.608
},
"oklch": {
"l": 0.33069,
"c": 0.12077,
"h": 274.1
},
"luminance": 0.03336
}Semantic roles & 50–950 ramp
primary
#252B72
secondary
#A59E4E
accent
#CF4DDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E