#202242#202242

#202242 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.8% C 0.059 H 278.9°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#202242
RGBrgb(32, 34, 66)
HSLhsl(236, 35%, 19%)
HSVhsv(236, 52%, 26%)
CMYKcmyk(51.5%, 48.5%, 0%, 74.1%)
CIE-LABlab(14.65, 9.32, -20.62)
CIE-LCHlch(14.65, 22.63, 294.32°)
OKLaboklab(26.78% 0.0091 -0.0583)
OKLCHoklch(26.78% 0.059 278.9)
XYZxyz(2.1508, 1.8444, 5.3959)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202242 #424020
analogous
#203342 #202242 #2F2042
triadic
#202242 #422022 #224220
tetradic
#202242 #422033 #424020 #20422F
square
#202242 #422033 #424020 #20422F
split-complementary
#202242 #422F20 #334220
monochromatic
#0A0B15 #0C0D19 #202242 #34376B #484C94

Accessibility & contrast

On white

15.34
#202242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#202242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202242
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202242#FFFFFF#000000##FFFFFF
##2022421.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162643
Deuteranopia (green-blind)
#132441
Tritanopia (blue-blind)
#14292E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #202242;
/* rgb */ color: rgb(32, 34, 66);
/* oklch */ color: oklch(26.8% 0.059 278.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c76',
    500: '#202242',
    950: '#000000',
  },
}
SCSS
$custom: #202242;
$custom-light: #5e5c76;
$custom-dark: #000000;
JSON
{
  "hex": "#202242",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 236.471,
    "s": 34.694,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26778,
    "c": 0.05904,
    "h": 278.9
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#202242
secondary
#767348
accent
#C45DCB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #202242

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

Preview Lab → · Contrast checker → · Palette generator →

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