#20377A#20377A

#20377A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.118 H 266.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#20377A
RGBrgb(32, 55, 122)
HSLhsl(225, 58%, 30%)
HSVhsv(225, 74%, 48%)
CMYKcmyk(73.8%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.09, 15.98, -40.88)
CIE-LCHlch(25.09, 43.89, 291.35°)
OKLaboklab(36% -0.0077 -0.1176)
OKLCHoklch(36% 0.118 266.3)
XYZxyz(5.4735, 4.4440, 18.9779)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20377A #7A6320
analogous
#20647A #20377A #36207A
triadic
#20377A #7A2037 #377A20
tetradic
#20377A #7A2064 #7A6320 #207A36
square
#20377A #7A2064 #7A6320 #207A36
split-complementary
#20377A #7A3620 #647A20
monochromatic
#070B19 #13214A #20377A #2D4DAA #4669CE

Accessibility & contrast

On white

11.12
#20377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#20377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20377A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20377A#FFFFFF#000000##FFFFFF
##20377A1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20377a;
/* rgb */ color: rgb(32, 55, 122);
/* oklch */ color: oklch(36.0% 0.118 266.3);
Tailwind
colors: {
  custom: {
    50: '#686da1',
    500: '#20377a',
    950: '#000000',
  },
}
SCSS
$custom: #20377a;
$custom-light: #686da1;
$custom-dark: #000000;
JSON
{
  "hex": "#20377a",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 224.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36,
    "c": 0.11783,
    "h": 266.3
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#20377A
secondary
#AD9349
accent
#BA46E2
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20377A

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

Preview Lab → · Contrast checker → · Palette generator →

#20377A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva