#253D8E#253D8E
#253D8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.137 H 267.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #253D8E |
|---|---|
| RGB | rgb(37, 61, 142) |
| HSL | hsl(226, 59%, 35%) |
| HSV | hsv(226, 74%, 56%) |
| CMYK | cmyk(73.9%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(28.60, 20.42, -47.66) |
| CIE-LCH | lch(28.60, 51.85, 293.20°) |
| OKLab | oklab(39.21% -0.0067 -0.1373) |
| OKLCH | oklch(39.21% 0.137 267.2) |
| XYZ | xyz(7.3125, 5.6830, 26.2975) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.46
Sapphire (survey)
#2138AB
ΔE00 4.94
Darkish Blue
#014182
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.32
Blueberry
#464196
ΔE00 5.39
Twilight Blue
#0A437A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253D8E #8E7625
analogous
#25718E #253D8E #42258E
triadic
#253D8E #8E253D #3D8E25
tetradic
#253D8E #8E2571 #8E7625 #258E42
square
#253D8E #8E2571 #8E7625 #258E42
split-complementary
#253D8E #8E4225 #718E25
monochromatic
#0C132D #18285D #253D8E #3252BF #5A75D4
Accessibility & contrast
On white
9.83
#253D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#253D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253D8E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253D8E | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #253d8e; /* rgb */ color: rgb(37, 61, 142); /* oklch */ color: oklch(39.2% 0.137 267.2);
Tailwind
colors: {
custom: {
50: '#6f72b0',
500: '#253d8e',
950: '#000000',
},
}SCSS
$custom: #253d8e; $custom-light: #6f72b0; $custom-dark: #000000;
JSON
{
"hex": "#253d8e",
"rgb": {
"r": 37,
"g": 61,
"b": 142
},
"hsl": {
"h": 226.286,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.39206,
"c": 0.13748,
"h": 267.2
},
"luminance": 0.05684
}Semantic roles & 50–950 ramp
primary
#253D8E
secondary
#B9A256
accent
#BE46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F