#252F93#252F93
#252F93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.162 H 271.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #252F93 |
|---|---|
| RGB | rgb(37, 47, 147) |
| HSL | hsl(235, 60%, 36%) |
| HSV | hsv(235, 75%, 58%) |
| CMYK | cmyk(74.8%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.36, 31.75, -56.03) |
| CIE-LCH | lch(25.36, 64.40, 299.54°) |
| OKLab | oklab(36.94% 0.0036 -0.162) |
| OKLCH | oklch(36.94% 0.162 271.3) |
| XYZ | xyz(7.0441, 4.5322, 28.1017) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Royal
#0C1793
ΔE00 5.96
Blueberry
#464196
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.46
Midnight Blue
#191970
ΔE00 7.32
Indigo Blue
#3A18B1
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F93 #938925
analogous
#256693 #252F93 #522593
triadic
#252F93 #93252F #2F9325
tetradic
#252F93 #932566 #938925 #259352
square
#252F93 #932566 #938925 #259352
split-complementary
#252F93 #935225 #669325
monochromatic
#0C1031 #191F62 #252F93 #313FC4 #5C67D6
Accessibility & contrast
On white
11.01
#252F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#252F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F93
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F93 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252f93; /* rgb */ color: rgb(37, 47, 147); /* oklch */ color: oklch(36.9% 0.162 271.3);
Tailwind
colors: {
custom: {
50: '#7168b4',
500: '#252f93',
950: '#000000',
},
}SCSS
$custom: #252f93; $custom-light: #7168b4; $custom-dark: #000000;
JSON
{
"hex": "#252f93",
"rgb": {
"r": 37,
"g": 47,
"b": 147
},
"hsl": {
"h": 234.545,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.36941,
"c": 0.16207,
"h": 271.3
},
"luminance": 0.04533
}Semantic roles & 50–950 ramp
primary
#252F93
secondary
#BBB259
accent
#D545E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80