#20376E#20376E

#20376E is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.100 H 264.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#20376E
RGBrgb(32, 55, 110)
HSLhsl(222, 55%, 28%)
HSVhsv(222, 71%, 43%)
CMYKcmyk(70.9%, 50%, 0%, 56.9%)
CIE-LABlab(24.21, 11.18, -34.65)
CIE-LCHlch(24.21, 36.41, 287.89°)
OKLaboklab(35.05% -0.0092 -0.0993)
OKLCHoklch(35.05% 0.1 264.7)
XYZxyz(4.7753, 4.1648, 15.3010)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20376E #6E5720
analogous
#205E6E #20376E #30206E
triadic
#20376E #6E2037 #376E20
tetradic
#20376E #6E205E #6E5720 #206E30
square
#20376E #6E205E #6E5720 #206E30
split-complementary
#20376E #6E3020 #5E6E20
monochromatic
#070C18 #121F3F #20376E #2E4F9D #4169C8

Accessibility & contrast

On white

11.46
#20376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#20376E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20376E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20376E#FFFFFF#000000##FFFFFF
##20376E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#09366D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20376e;
/* rgb */ color: rgb(32, 55, 110);
/* oklch */ color: oklch(35.1% 0.100 264.7);
Tailwind
colors: {
  custom: {
    50: '#656d98',
    500: '#20376e',
    950: '#000000',
  },
}
SCSS
$custom: #20376e;
$custom-light: #656d98;
$custom-dark: #000000;
JSON
{
  "hex": "#20376e",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 222.308,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35051,
    "c": 0.0997,
    "h": 264.7
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#20376E
secondary
#A28748
accent
#B24ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20376E

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

Preview Lab → · Contrast checker → · Palette generator →

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