#202041#202041

#202041 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.061 H 281.4°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#202041
RGBrgb(32, 32, 65)
HSLhsl(240, 34%, 19%)
HSVhsv(240, 51%, 25%)
CMYKcmyk(50.8%, 50.8%, 0%, 74.5%)
CIE-LABlab(13.95, 10.43, -21.03)
CIE-LCHlch(13.95, 23.47, 296.39°)
OKLaboklab(26.23% 0.012 -0.0595)
OKLCHoklch(26.23% 0.061 281.4)
XYZxyz(2.0660, 1.7217, 5.2235)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202041 #414120
analogous
#203141 #202041 #312041
triadic
#202041 #412020 #204120
tetradic
#202041 #412031 #414120 #204131
square
#202041 #412031 #414120 #204131
split-complementary
#202041 #413120 #314120
monochromatic
#0A0A15 #0C0C18 #202041 #34346A #484893

Accessibility & contrast

On white

15.62
#202041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#202041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202041
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202041#FFFFFF#000000##FFFFFF
##2020411.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132542
Deuteranopia (green-blind)
#112240
Tritanopia (blue-blind)
#15272D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #202041;
/* rgb */ color: rgb(32, 32, 65);
/* oklch */ color: oklch(26.2% 0.061 281.4);
Tailwind
colors: {
  custom: {
    50: '#5e5b76',
    500: '#202041',
    950: '#000000',
  },
}
SCSS
$custom: #202041;
$custom-light: #5e5b76;
$custom-dark: #000000;
JSON
{
  "hex": "#202041",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 34.021,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26227,
    "c": 0.06073,
    "h": 281.4
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#202041
secondary
#757548
accent
#CA5ECA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #202041

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#202041 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva