#253C8F#253C8F
#253C8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.140 H 267.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #253C8F |
|---|---|
| RGB | rgb(37, 60, 143) |
| HSL | hsl(227, 59%, 35%) |
| HSV | hsv(227, 74%, 56%) |
| CMYK | cmyk(74.1%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.40, 21.50, -48.60) |
| CIE-LCH | lch(28.40, 53.14, 293.86°) |
| OKLab | oklab(39.08% -0.0058 -0.1401) |
| OKLCH | oklch(39.08% 0.14 267.6) |
| XYZ | xyz(7.3350, 5.6074, 26.6770) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 4.85
Blueberry
#464196
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.47
Darkish Blue
#014182
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253C8F #8F7825
analogous
#25718F #253C8F #43258F
triadic
#253C8F #8F253C #3C8F25
tetradic
#253C8F #8F2571 #8F7825 #258F43
square
#253C8F #8F2571 #8F7825 #258F43
split-complementary
#253C8F #8F4325 #718F25
monochromatic
#0C132E #18285E #253C8F #3250C0 #5A75D4
Accessibility & contrast
On white
9.90
#253C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#253C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253C8F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253C8F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #253c8f; /* rgb */ color: rgb(37, 60, 143); /* oklch */ color: oklch(39.1% 0.140 267.6);
Tailwind
colors: {
custom: {
50: '#6f71b0',
500: '#253c8f',
950: '#000000',
},
}SCSS
$custom: #253c8f; $custom-light: #6f71b0; $custom-dark: #000000;
JSON
{
"hex": "#253c8f",
"rgb": {
"r": 37,
"g": 60,
"b": 143
},
"hsl": {
"h": 226.981,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.39081,
"c": 0.14021,
"h": 267.6
},
"luminance": 0.05608
}Semantic roles & 50–950 ramp
primary
#253C8F
secondary
#B9A457
accent
#C046E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80