#253C9C#253C9C
#253C9C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.158 H 268.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #253C9C |
|---|---|
| RGB | rgb(37, 60, 156) |
| HSL | hsl(228, 62%, 38%) |
| HSV | hsv(228, 76%, 61%) |
| CMYK | cmyk(76.3%, 61.5%, 0%, 38.8%) |
| CIE-LAB | lab(29.47, 26.51, -54.80) |
| CIE-LCH | lch(29.47, 60.87, 295.81°) |
| OKLab | oklab(40.22% -0.0055 -0.1583) |
| OKLCH | oklch(40.22% 0.158 268) |
| XYZ | xyz(8.3775, 6.0244, 32.1674) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Cobalt
#0047AB
ΔE00 4.84
Blueberry
#464196
ΔE00 4.94
Cobalt (survey)
#1E488F
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253C9C #9C8525
analogous
#25789C #253C9C #49259C
triadic
#253C9C #9C253C #3C9C25
tetradic
#253C9C #9C2578 #9C8525 #259C49
square
#253C9C #9C2578 #9C8525 #259C49
split-complementary
#253C9C #9C4925 #789C25
monochromatic
#0E1639 #19296B #253C9C #314FCD #6279DA
Accessibility & contrast
On white
9.52
#253C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#253C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253C9C
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253C9C | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #253c9c; /* rgb */ color: rgb(37, 60, 156); /* oklch */ color: oklch(40.2% 0.158 268.0);
Tailwind
colors: {
custom: {
50: '#7271ba',
500: '#253c9c',
950: '#000000',
},
}SCSS
$custom: #253c9c; $custom-light: #7271ba; $custom-dark: #000000;
JSON
{
"hex": "#253c9c",
"rgb": {
"r": 37,
"g": 60,
"b": 156
},
"hsl": {
"h": 228.403,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.40219,
"c": 0.15841,
"h": 268
},
"luminance": 0.06025
}Semantic roles & 50–950 ramp
primary
#253C9C
secondary
#BFAC5E
accent
#C543E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81