#252B82#252B82
#252B82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.144 H 273.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #252B82 |
|---|---|
| RGB | rgb(37, 43, 130) |
| HSL | hsl(236, 56%, 33%) |
| HSV | hsv(236, 72%, 51%) |
| CMYK | cmyk(71.5%, 66.9%, 0%, 49%) |
| CIE-LAB | lab(22.77, 28.10, -49.69) |
| CIE-LCH | lch(22.77, 57.09, 299.49°) |
| OKLab | oklab(34.56% 0.0078 -0.1435) |
| OKLCH | oklch(34.56% 0.144 273.1) |
| XYZ | xyz(5.6547, 3.7322, 21.5372) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.20
Royal
#0C1793
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 6.78
Blueberry
#464196
ΔE00 7.38
Marine
#042E60
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B82 #827C25
analogous
#255982 #252B82 #4D2582
triadic
#252B82 #82252B #2B8225
tetradic
#252B82 #822559 #827C25 #25824D
square
#252B82 #822559 #827C25 #25824D
split-complementary
#252B82 #824D25 #598225
monochromatic
#0A0B23 #171B52 #252B82 #333BB2 #535BCE
Accessibility & contrast
On white
12.02
#252B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#252B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B82
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B82 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252b82; /* rgb */ color: rgb(37, 43, 130); /* oklch */ color: oklch(34.6% 0.144 273.1);
Tailwind
colors: {
custom: {
50: '#6d64a7',
500: '#252b82',
950: '#000000',
},
}SCSS
$custom: #252b82; $custom-light: #6d64a7; $custom-dark: #000000;
JSON
{
"hex": "#252b82",
"rgb": {
"r": 37,
"g": 43,
"b": 130
},
"hsl": {
"h": 236.129,
"s": 55.689,
"l": 32.745
},
"oklch": {
"l": 0.34559,
"c": 0.14371,
"h": 273.1
},
"luminance": 0.03733
}Semantic roles & 50–950 ramp
primary
#252B82
secondary
#B2AC50
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F