#202174#202174
#202174 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.138 H 274.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #202174 |
|---|---|
| RGB | rgb(32, 33, 116) |
| HSL | hsl(239, 57%, 29%) |
| HSV | hsv(239, 72%, 45%) |
| CMYK | cmyk(72.4%, 71.6%, 0%, 54.5%) |
| CIE-LAB | lab(18.61, 28.87, -47.62) |
| CIE-LCH | lch(18.61, 55.68, 301.23°) |
| OKLab | oklab(31.04% 0.0104 -0.1376) |
| OKLCH | oklch(31.04% 0.138 274.3) |
| XYZ | xyz(4.2909, 2.6553, 16.8060) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Royal
#0C1793
ΔE00 5.65
Dark Royal Blue
#02066F
ΔE00 6.24
Darkblue (survey)
#030764
ΔE00 6.41
Deep Blue
#040273
ΔE00 6.86
Navy
#000080
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202174 #747320
analogous
#204B74 #202174 #492074
triadic
#202174 #742021 #217420
tetradic
#202174 #74204B #747320 #207449
square
#202174 #74204B #747320 #207449
split-complementary
#202174 #744920 #4B7420
monochromatic
#070718 #131344 #202174 #2D2FA4 #4345CB
Accessibility & contrast
On white
13.71
#202174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#202174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202174
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202174 | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #202174; /* rgb */ color: rgb(32, 33, 116); /* oklch */ color: oklch(31.0% 0.138 274.3);
Tailwind
colors: {
custom: {
50: '#695d9d',
500: '#202174',
950: '#000000',
},
}SCSS
$custom: #202174; $custom-light: #695d9d; $custom-dark: #000000;
JSON
{
"hex": "#202174",
"rgb": {
"r": 32,
"g": 33,
"b": 116
},
"hsl": {
"h": 239.286,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.31035,
"c": 0.13798,
"h": 274.3
},
"luminance": 0.02656
}Semantic roles & 50–950 ramp
primary
#202174
secondary
#A8A648
accent
#DE48E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E