#253C97#253C97
#253C97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.151 H 267.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #253C97 |
|---|---|
| RGB | rgb(37, 60, 151) |
| HSL | hsl(228, 61%, 37%) |
| HSV | hsv(228, 75%, 59%) |
| CMYK | cmyk(75.5%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.05, 24.59, -52.44) |
| CIE-LCH | lch(29.05, 57.92, 295.12°) |
| OKLab | oklab(39.77% -0.0055 -0.1514) |
| OKLCH | oklch(39.77% 0.151 267.9) |
| XYZ | xyz(7.9628, 5.8585, 29.9833) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Blueberry
#464196
ΔE00 4.97
Cobalt
#0047AB
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 6.23
Darkish Blue
#014182
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253C97 #978025
analogous
#257597 #253C97 #472597
triadic
#253C97 #97253C #3C9725
tetradic
#253C97 #972575 #978025 #259747
square
#253C97 #972575 #978025 #259747
split-complementary
#253C97 #974725 #759725
monochromatic
#0D1535 #192866 #253C97 #3150C8 #5F77D8
Accessibility & contrast
On white
9.67
#253C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#253C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253C97
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253C97 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #253c97; /* rgb */ color: rgb(37, 60, 151); /* oklch */ color: oklch(39.8% 0.151 267.9);
Tailwind
colors: {
custom: {
50: '#7171b6',
500: '#253c97',
950: '#000000',
},
}SCSS
$custom: #253c97; $custom-light: #7171b6; $custom-dark: #000000;
JSON
{
"hex": "#253c97",
"rgb": {
"r": 37,
"g": 60,
"b": 151
},
"hsl": {
"h": 227.895,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.39774,
"c": 0.15149,
"h": 267.9
},
"luminance": 0.05859
}Semantic roles & 50–950 ramp
primary
#253C97
secondary
#BDA95B
accent
#C444E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80