#202038#202038

#202038 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.045 H 282.8°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#202038
RGBrgb(32, 32, 56)
HSLhsl(240, 27%, 17%)
HSVhsv(240, 43%, 22%)
CMYKcmyk(42.9%, 42.9%, 0%, 78%)
CIE-LABlab(13.39, 7.25, -15.59)
CIE-LCHlch(13.39, 17.19, 294.94°)
OKLaboklab(25.61% 0.0099 -0.0437)
OKLCHoklch(25.61% 0.045 282.8)
XYZxyz(1.8258, 1.6256, 3.9582)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202038 #383820
analogous
#202C38 #202038 #2C2038
triadic
#202038 #382020 #203820
tetradic
#202038 #38202C #383820 #20382C
square
#202038 #38202C #383820 #20382C
split-complementary
#202038 #382C20 #2C3820
monochromatic
#0B0B13 #0B0B13 #202038 #36365F #4D4D86

Accessibility & contrast

On white

15.85
#202038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#202038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202038
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202038#FFFFFF#000000##FFFFFF
##2020381.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#172237
Tritanopia (blue-blind)
#192529
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #202038;
/* rgb */ color: rgb(32, 32, 56);
/* oklch */ color: oklch(25.6% 0.045 282.8);
Tailwind
colors: {
  custom: {
    50: '#5c5b6e',
    500: '#202038',
    950: '#000000',
  },
}
SCSS
$custom: #202038;
$custom-light: #5c5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#202038",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25609,
    "c": 0.04479,
    "h": 282.8
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#202038
secondary
#6B6B49
accent
#C464C4
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #202038

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

Preview Lab → · Contrast checker → · Palette generator →

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