#20375C#20375C

#20375C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.8% C 0.072 H 259.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#20375C
RGBrgb(32, 55, 92)
HSLhsl(217, 48%, 24%)
HSVhsv(217, 65%, 36%)
CMYKcmyk(65.2%, 40.2%, 0%, 63.9%)
CIE-LABlab(23.04, 4.08, -24.85)
CIE-LCHlch(23.04, 25.18, 279.32°)
OKLaboklab(33.77% -0.0131 -0.0705)
OKLCHoklch(33.77% 0.072 259.5)
XYZxyz(3.8929, 3.8118, 10.6537)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20375C #5C4520
analogous
#20555C #20375C #27205C
triadic
#20375C #5C2037 #375C20
tetradic
#20375C #5C2055 #5C4520 #205C27
square
#20375C #5C2055 #5C4520 #205C27
split-complementary
#20375C #5C2720 #555C20
monochromatic
#080E17 #101C2F #20375C #305289 #406DB7

Accessibility & contrast

On white

11.92
#20375C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#20375C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20375C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20375C#FFFFFF#000000##FFFFFF
##20375C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20375c;
/* rgb */ color: rgb(32, 55, 92);
/* oklch */ color: oklch(33.8% 0.072 259.5);
Tailwind
colors: {
  custom: {
    50: '#626d8a',
    500: '#20375c',
    950: '#000000',
  },
}
SCSS
$custom: #20375c;
$custom-light: #626d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#20375c",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 92
  },
  "hsl": {
    "h": 217,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.07169,
    "h": 259.5
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#20375C
secondary
#907447
accent
#A450D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20375C

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

Preview Lab → · Contrast checker → · Palette generator →

#20375C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva