#253F8D#253F8D
#253F8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.133 H 266.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #253F8D |
|---|---|
| RGB | rgb(37, 63, 141) |
| HSL | hsl(225, 58%, 35%) |
| HSV | hsv(225, 74%, 55%) |
| CMYK | cmyk(73.8%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(29.08, 18.66, -46.25) |
| CIE-LCH | lch(29.08, 49.88, 291.97°) |
| OKLab | oklab(39.55% -0.0084 -0.1332) |
| OKLCH | oklch(39.55% 0.133 266.4) |
| XYZ | xyz(7.3465, 5.8706, 25.9401) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.73
Darkish Blue
#014182
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.00
Sapphire (survey)
#2138AB
ΔE00 5.47
Twilight Blue
#0A437A
ΔE00 5.67
Blueberry
#464196
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F8D #8D7325
analogous
#25738D #253F8D #3F258D
triadic
#253F8D #8D253F #3F8D25
tetradic
#253F8D #8D2573 #8D7325 #258D3F
square
#253F8D #8D2573 #8D7325 #258D3F
split-complementary
#253F8D #8D3F25 #738D25
monochromatic
#0C142C #18295D #253F8D #3255BD #5978D3
Accessibility & contrast
On white
9.66
#253F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#253F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F8D
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F8D | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #253f8d; /* rgb */ color: rgb(37, 63, 141); /* oklch */ color: oklch(39.5% 0.133 266.4);
Tailwind
colors: {
custom: {
50: '#6e73af',
500: '#253f8d',
950: '#000000',
},
}SCSS
$custom: #253f8d; $custom-light: #6e73af; $custom-dark: #000000;
JSON
{
"hex": "#253f8d",
"rgb": {
"r": 37,
"g": 63,
"b": 141
},
"hsl": {
"h": 225,
"s": 58.427,
"l": 34.902
},
"oklch": {
"l": 0.39547,
"c": 0.13343,
"h": 266.4
},
"luminance": 0.05871
}Semantic roles & 50–950 ramp
primary
#253F8D
secondary
#B89F56
accent
#BB46E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F