#253A9E#253A9E
#253A9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.164 H 268.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #253A9E |
|---|---|
| RGB | rgb(37, 58, 158) |
| HSL | hsl(230, 62%, 38%) |
| HSV | hsv(230, 77%, 62%) |
| CMYK | cmyk(76.6%, 63.3%, 0%, 38%) |
| CIE-LAB | lab(29.13, 28.61, -56.58) |
| CIE-LCH | lch(29.13, 63.40, 296.82°) |
| OKLab | oklab(40.02% -0.0042 -0.1636) |
| OKLCH | oklch(40.02% 0.164 268.5) |
| XYZ | xyz(8.4454, 5.8871, 33.0324) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blueberry
#464196
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.36
Cobalt (survey)
#1E488F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253A9E #9E8925
analogous
#25769E #253A9E #4C259E
triadic
#253A9E #9E253A #3A9E25
tetradic
#253A9E #9E2576 #9E8925 #259E4C
square
#253A9E #9E2576 #9E8925 #259E4C
split-complementary
#253A9E #9E4C25 #769E25
monochromatic
#0E163B #19286C #253A9E #314DCF #6378DA
Accessibility & contrast
On white
9.64
#253A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#253A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253A9E
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253A9E | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #253a9e; /* rgb */ color: rgb(37, 58, 158); /* oklch */ color: oklch(40.0% 0.164 268.5);
Tailwind
colors: {
custom: {
50: '#7370bc',
500: '#253a9e',
950: '#000000',
},
}SCSS
$custom: #253a9e; $custom-light: #7370bc; $custom-dark: #000000;
JSON
{
"hex": "#253a9e",
"rgb": {
"r": 37,
"g": 58,
"b": 158
},
"hsl": {
"h": 229.587,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.40015,
"c": 0.16361,
"h": 268.5
},
"luminance": 0.05888
}Semantic roles & 50–950 ramp
primary
#253A9E
secondary
#C0AF5F
accent
#C943E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81