#201998#201998
#201998 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.192 H 272.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #201998 |
|---|---|
| RGB | rgb(32, 25, 152) |
| HSL | hsl(243, 72%, 35%) |
| HSV | hsv(243, 84%, 60%) |
| CMYK | cmyk(78.9%, 83.6%, 0%, 40.4%) |
| CIE-LAB | lab(21.09, 45.74, -66.17) |
| CIE-LCH | lch(21.09, 80.44, 304.65°) |
| OKLab | oklab(33.99% 0.0066 -0.1915) |
| OKLCH | oklch(33.99% 0.192 272) |
| XYZ | xyz(6.6089, 3.2686, 29.9823) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.51
Cobalt Blue
#030AA7
ΔE00 2.85
Royal Blue (survey)
#0504AA
ΔE00 3.40
Ultramarine
#2000B1
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.43
Darkblue
#00008B
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201998 #919819
analogous
#195298 #201998 #601998
triadic
#201998 #982019 #199820
tetradic
#201998 #981952 #919819 #199860
square
#201998 #981952 #919819 #199860
split-complementary
#201998 #986019 #529819
monochromatic
#0A082F #151063 #201998 #2B22CD #524AE1
Accessibility & contrast
On white
12.70
#201998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#201998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201998
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201998 | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002C96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #201998; /* rgb */ color: rgb(32, 25, 152); /* oklch */ color: oklch(34.0% 0.192 272.0);
Tailwind
colors: {
custom: {
50: '#735ab8',
500: '#201998',
950: '#000000',
},
}SCSS
$custom: #201998; $custom-light: #735ab8; $custom-dark: #000000;
JSON
{
"hex": "#201998",
"rgb": {
"r": 32,
"g": 25,
"b": 152
},
"hsl": {
"h": 243.307,
"s": 71.751,
"l": 34.706
},
"oklch": {
"l": 0.33989,
"c": 0.19157,
"h": 272
},
"luminance": 0.03269
}Semantic roles & 50–950 ramp
primary
#201998
secondary
#BCC34A
accent
#EE39E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981