#252F82#252F82
#252F82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.139 H 271.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #252F82 |
|---|---|
| RGB | rgb(37, 47, 130) |
| HSL | hsl(234, 56%, 33%) |
| HSV | hsv(234, 72%, 51%) |
| CMYK | cmyk(71.5%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(23.80, 25.40, -48.01) |
| CIE-LCH | lch(23.80, 54.32, 297.88°) |
| OKLab | oklab(35.32% 0.0046 -0.1385) |
| OKLCH | oklch(35.32% 0.139 271.9) |
| XYZ | xyz(5.8074, 4.0375, 21.5880) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.28
Midnight Blue
#191970
ΔE00 6.31
Blueberry
#464196
ΔE00 6.73
Royal
#0C1793
ΔE00 7.12
Marine
#042E60
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F82 #827825
analogous
#255E82 #252F82 #492582
triadic
#252F82 #82252F #2F8225
tetradic
#252F82 #82255E #827825 #258249
square
#252F82 #82255E #827825 #258249
split-complementary
#252F82 #824925 #5E8225
monochromatic
#0A0D23 #171E52 #252F82 #3340B2 #5360CE
Accessibility & contrast
On white
11.62
#252F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#252F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F82
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F82 | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252f82; /* rgb */ color: rgb(37, 47, 130); /* oklch */ color: oklch(35.3% 0.139 271.9);
Tailwind
colors: {
custom: {
50: '#6d67a7',
500: '#252f82',
950: '#000000',
},
}SCSS
$custom: #252f82; $custom-light: #6d67a7; $custom-dark: #000000;
JSON
{
"hex": "#252f82",
"rgb": {
"r": 37,
"g": 47,
"b": 130
},
"hsl": {
"h": 233.548,
"s": 55.689,
"l": 32.745
},
"oklch": {
"l": 0.35315,
"c": 0.13861,
"h": 271.9
},
"luminance": 0.04038
}Semantic roles & 50–950 ramp
primary
#252F82
secondary
#B2A850
accent
#CF49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F