#253C8D#253C8D
#253C8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.137 H 267.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #253C8D |
|---|---|
| RGB | rgb(37, 60, 141) |
| HSL | hsl(227, 58%, 35%) |
| HSV | hsv(227, 74%, 55%) |
| CMYK | cmyk(73.8%, 57.4%, 0%, 44.7%) |
| CIE-LAB | lab(28.24, 20.72, -47.62) |
| CIE-LCH | lch(28.24, 51.93, 293.51°) |
| OKLab | oklab(38.91% -0.0059 -0.1372) |
| OKLCH | oklch(38.91% 0.137 267.5) |
| XYZ | xyz(7.1849, 5.5474, 25.8862) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 4.93
Darkish Blue
#014182
ΔE00 5.36
Blueberry
#464196
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253C8D #8D7625
analogous
#25708D #253C8D #42258D
triadic
#253C8D #8D253C #3C8D25
tetradic
#253C8D #8D2570 #8D7625 #258D42
square
#253C8D #8D2570 #8D7625 #258D42
split-complementary
#253C8D #8D4225 #708D25
monochromatic
#0C132C #18275D #253C8D #3251BD #5974D3
Accessibility & contrast
On white
9.95
#253C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#253C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253C8D
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253C8D | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #253c8d; /* rgb */ color: rgb(37, 60, 141); /* oklch */ color: oklch(38.9% 0.137 267.5);
Tailwind
colors: {
custom: {
50: '#6f71af',
500: '#253c8d',
950: '#000000',
},
}SCSS
$custom: #253c8d; $custom-light: #6f71af; $custom-dark: #000000;
JSON
{
"hex": "#253c8d",
"rgb": {
"r": 37,
"g": 60,
"b": 141
},
"hsl": {
"h": 226.731,
"s": 58.427,
"l": 34.902
},
"oklch": {
"l": 0.38912,
"c": 0.13736,
"h": 267.5
},
"luminance": 0.05548
}Semantic roles & 50–950 ramp
primary
#253C8D
secondary
#B8A256
accent
#BF46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F