#253173#253173
#253173 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.114 H 271.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #253173 |
|---|---|
| RGB | rgb(37, 49, 115) |
| HSL | hsl(231, 51%, 30%) |
| HSV | hsv(231, 68%, 45%) |
| CMYK | cmyk(67.8%, 57.4%, 0%, 54.9%) |
| CIE-LAB | lab(23.09, 18.28, -39.64) |
| CIE-LCH | lch(23.09, 43.66, 294.75°) |
| OKLab | oklab(34.4% 0.0027 -0.1139) |
| OKLCH | oklch(34.4% 0.114 271.4) |
| XYZ | xyz(4.9547, 3.8273, 16.6940) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.40
Marine Blue
#01386A
ΔE00 6.86
Darkslateblue
#483D8B
ΔE00 7.01
Midnight Blue
#191970
ΔE00 7.31
Navy Blue
#1B2A4A
ΔE00 7.73
Blueberry
#464196
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253173 #736725
analogous
#255873 #253173 #402573
triadic
#253173 #732531 #317325
tetradic
#253173 #732558 #736725 #257340
square
#253173 #732558 #736725 #257340
split-complementary
#253173 #734025 #587325
monochromatic
#070A17 #161D45 #253173 #3445A1 #4D5FC6
Accessibility & contrast
On white
11.89
#253173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#253173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253173
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253173 | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #253173; /* rgb */ color: rgb(37, 49, 115); /* oklch */ color: oklch(34.4% 0.114 271.4);
Tailwind
colors: {
custom: {
50: '#69689c',
500: '#253173',
950: '#000000',
},
}SCSS
$custom: #253173; $custom-light: #69689c; $custom-dark: #000000;
JSON
{
"hex": "#253173",
"rgb": {
"r": 37,
"g": 49,
"b": 115
},
"hsl": {
"h": 230.769,
"s": 51.316,
"l": 29.804
},
"oklch": {
"l": 0.344,
"c": 0.11395,
"h": 271.4
},
"luminance": 0.03828
}Semantic roles & 50–950 ramp
primary
#253173
secondary
#A6984E
accent
#C54DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E