#253BA5#253BA5
#253BA5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.172 H 268.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #253BA5 |
|---|---|
| RGB | rgb(37, 59, 165) |
| HSL | hsl(230, 63%, 40%) |
| HSV | hsv(230, 78%, 65%) |
| CMYK | cmyk(77.6%, 64.2%, 0%, 35.3%) |
| CIE-LAB | lab(30.00, 30.59, -59.38) |
| CIE-LCH | lch(30.00, 66.80, 297.25°) |
| OKLab | oklab(40.85% -0.005 -0.1718) |
| OKLCH | oklch(40.85% 0.172 268.3) |
| XYZ | xyz(9.1161, 6.2368, 36.3134) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.29
Blue Blue
#2242C7
ΔE00 4.87
Cobalt
#0047AB
ΔE00 5.11
Blueberry
#464196
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253BA5 #A58F25
analogous
#257BA5 #253BA5 #4F25A5
triadic
#253BA5 #A5253B #3BA525
tetradic
#253BA5 #A5257B #A58F25 #25A54F
square
#253BA5 #A5257B #A58F25 #25A54F
split-complementary
#253BA5 #A54F25 #7BA525
monochromatic
#0F1741 #1A2973 #253BA5 #3550D2 #677CDD
Accessibility & contrast
On white
9.34
#253BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#253BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253BA5
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253BA5 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #253ba5; /* rgb */ color: rgb(37, 59, 165); /* oklch */ color: oklch(40.9% 0.172 268.3);
Tailwind
colors: {
custom: {
50: '#7570c1',
500: '#253ba5',
950: '#000000',
},
}SCSS
$custom: #253ba5; $custom-light: #7570c1; $custom-dark: #000000;
JSON
{
"hex": "#253ba5",
"rgb": {
"r": 37,
"g": 59,
"b": 165
},
"hsl": {
"h": 229.688,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.40853,
"c": 0.17182,
"h": 268.3
},
"luminance": 0.06238
}Semantic roles & 50–950 ramp
primary
#253BA5
secondary
#C3B263
accent
#CA41E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81