#252F92#252F92
#252F92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.161 H 271.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #252F92 |
|---|---|
| RGB | rgb(37, 47, 146) |
| HSL | hsl(234, 60%, 36%) |
| HSV | hsv(234, 75%, 57%) |
| CMYK | cmyk(74.7%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.26, 31.39, -55.57) |
| CIE-LCH | lch(25.26, 63.82, 299.46°) |
| OKLab | oklab(36.84% 0.0036 -0.1607) |
| OKLCH | oklch(36.84% 0.161 271.3) |
| XYZ | xyz(6.9660, 4.5009, 27.6902) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.16
Royal
#0C1793
ΔE00 5.99
Blueberry
#464196
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.43
Midnight Blue
#191970
ΔE00 7.23
Indigo Blue
#3A18B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F92 #928825
analogous
#256592 #252F92 #512592
triadic
#252F92 #92252F #2F9225
tetradic
#252F92 #922565 #928825 #259251
square
#252F92 #922565 #928825 #259251
split-complementary
#252F92 #925125 #659225
monochromatic
#0C1030 #191F61 #252F92 #313FC3 #5C67D6
Accessibility & contrast
On white
11.05
#252F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#252F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F92
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F92 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252f92; /* rgb */ color: rgb(37, 47, 146); /* oklch */ color: oklch(36.8% 0.161 271.3);
Tailwind
colors: {
custom: {
50: '#7167b3',
500: '#252f92',
950: '#000000',
},
}SCSS
$custom: #252f92; $custom-light: #7167b3; $custom-dark: #000000;
JSON
{
"hex": "#252f92",
"rgb": {
"r": 37,
"g": 47,
"b": 146
},
"hsl": {
"h": 234.495,
"s": 59.563,
"l": 35.882
},
"oklch": {
"l": 0.36843,
"c": 0.16072,
"h": 271.3
},
"luminance": 0.04502
}Semantic roles & 50–950 ramp
primary
#252F92
secondary
#BAB158
accent
#D445E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80