#20223E#20223E

#20223E is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.5% C 0.052 H 279.1°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#20223E
RGBrgb(32, 34, 62)
HSLhsl(236, 32%, 18%)
HSVhsv(236, 48%, 24%)
CMYKcmyk(48.4%, 45.2%, 0%, 75.7%)
CIE-LABlab(14.39, 7.87, -18.23)
CIE-LCHlch(14.39, 19.86, 293.36°)
OKLaboklab(26.5% 0.0082 -0.0513)
OKLCHoklch(26.5% 0.052 279.1)
XYZxyz(2.0369, 1.7988, 4.7964)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20223E #3E3C20
analogous
#20313E #20223E #2D203E
triadic
#20223E #3E2022 #223E20
tetradic
#20223E #3E2031 #3E3C20 #203E2D
square
#20223E #3E2031 #3E3C20 #203E2D
split-complementary
#20223E #3E2D20 #313E20
monochromatic
#0A0B14 #0B0C16 #20223E #353866 #4A4E8F

Accessibility & contrast

On white

15.44
#20223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#20223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20223E
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20223E#FFFFFF#000000##FFFFFF
##20223E1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18263F
Deuteranopia (green-blind)
#16233D
Tritanopia (blue-blind)
#17282D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20223e;
/* rgb */ color: rgb(32, 34, 62);
/* oklch */ color: oklch(26.5% 0.052 279.1);
Tailwind
colors: {
  custom: {
    50: '#5d5c73',
    500: '#20223e',
    950: '#000000',
  },
}
SCSS
$custom: #20223e;
$custom-light: #5d5c73;
$custom-dark: #000000;
JSON
{
  "hex": "#20223e",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 236,
    "s": 31.915,
    "l": 18.431
  },
  "oklch": {
    "l": 0.265,
    "c": 0.05201,
    "h": 279.1
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#20223E
secondary
#726F48
accent
#C160C8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #20223E

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

Preview Lab → · Contrast checker → · Palette generator →

#20223E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva