#20376C#20376C

#20376C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.097 H 264.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#20376C
RGBrgb(32, 55, 108)
HSLhsl(222, 54%, 27%)
HSVhsv(222, 70%, 42%)
CMYKcmyk(70.4%, 49.1%, 0%, 57.6%)
CIE-LABlab(24.07, 10.39, -33.59)
CIE-LCHlch(24.07, 35.16, 287.18°)
OKLaboklab(34.9% -0.0095 -0.0961)
OKLCHoklch(34.9% 0.097 264.3)
XYZxyz(4.6677, 4.1217, 14.7340)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20376C #6C5520
analogous
#205D6C #20376C #2F206C
triadic
#20376C #6C2037 #376C20
tetradic
#20376C #6C205D #6C5520 #206C2F
square
#20376C #6C205D #6C5520 #206C2F
split-complementary
#20376C #6C2F20 #5D6C20
monochromatic
#070C18 #121F3D #20376C #2E4F9B #4069C6

Accessibility & contrast

On white

11.51
#20376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#20376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20376C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20376C#FFFFFF#000000##FFFFFF
##20376C1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20376c;
/* rgb */ color: rgb(32, 55, 108);
/* oklch */ color: oklch(34.9% 0.097 264.3);
Tailwind
colors: {
  custom: {
    50: '#656d96',
    500: '#20376c',
    950: '#000000',
  },
}
SCSS
$custom: #20376c;
$custom-light: #656d96;
$custom-dark: #000000;
JSON
{
  "hex": "#20376c",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 221.842,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34899,
    "c": 0.09662,
    "h": 264.3
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#20376C
secondary
#A08548
accent
#B14ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20376C

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

Preview Lab → · Contrast checker → · Palette generator →

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