#253172#253172
#253172 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.112 H 271.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #253172 |
|---|---|
| RGB | rgb(37, 49, 114) |
| HSL | hsl(231, 51%, 30%) |
| HSV | hsv(231, 68%, 45%) |
| CMYK | cmyk(67.5%, 57%, 0%, 55.3%) |
| CIE-LAB | lab(23.01, 17.89, -39.13) |
| CIE-LCH | lch(23.01, 43.03, 294.57°) |
| OKLab | oklab(34.32% 0.0027 -0.1124) |
| OKLCH | oklch(34.32% 0.112 271.4) |
| XYZ | xyz(4.8975, 3.8044, 16.3926) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.31
Marine Blue
#01386A
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 7.11
Midnight Blue
#191970
ΔE00 7.38
Navy Blue
#1B2A4A
ΔE00 7.57
Blueberry
#464196
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253172 #726625
analogous
#255872 #253172 #3F2572
triadic
#253172 #722531 #317225
tetradic
#253172 #722558 #726625 #25723F
square
#253172 #722558 #726625 #25723F
split-complementary
#253172 #723F25 #587225
monochromatic
#070A17 #161D44 #253172 #3445A0 #4C5FC5
Accessibility & contrast
On white
11.93
#253172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#253172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253172
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253172 | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#023A74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #253172; /* rgb */ color: rgb(37, 49, 114); /* oklch */ color: oklch(34.3% 0.112 271.4);
Tailwind
colors: {
custom: {
50: '#69689b',
500: '#253172',
950: '#000000',
},
}SCSS
$custom: #253172; $custom-light: #69689b; $custom-dark: #000000;
JSON
{
"hex": "#253172",
"rgb": {
"r": 37,
"g": 49,
"b": 114
},
"hsl": {
"h": 230.649,
"s": 50.993,
"l": 29.608
},
"oklch": {
"l": 0.34317,
"c": 0.11244,
"h": 271.4
},
"luminance": 0.03805
}Semantic roles & 50–950 ramp
primary
#253172
secondary
#A5974E
accent
#C44DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E