#20377B#20377B

#20377B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.119 H 266.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#20377B
RGBrgb(32, 55, 123)
HSLhsl(225, 59%, 30%)
HSVhsv(225, 74%, 48%)
CMYKcmyk(74%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.16, 16.38, -41.39)
CIE-LCHlch(25.16, 44.51, 291.59°)
OKLaboklab(36.08% -0.0076 -0.1191)
OKLCHoklch(36.08% 0.119 266.3)
XYZxyz(5.5358, 4.4689, 19.3059)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20377B #7B6420
analogous
#20647B #20377B #36207B
triadic
#20377B #7B2037 #377B20
tetradic
#20377B #7B2064 #7B6420 #207B36
square
#20377B #7B2064 #7B6420 #207B36
split-complementary
#20377B #7B3620 #647B20
monochromatic
#070C1A #13214A #20377B #2D4DAC #4669CF

Accessibility & contrast

On white

11.09
#20377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20377B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20377B#FFFFFF#000000##FFFFFF
##20377B1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20377b;
/* rgb */ color: rgb(32, 55, 123);
/* oklch */ color: oklch(36.1% 0.119 266.3);
Tailwind
colors: {
  custom: {
    50: '#696da2',
    500: '#20377b',
    950: '#000000',
  },
}
SCSS
$custom: #20377b;
$custom-light: #696da2;
$custom-dark: #000000;
JSON
{
  "hex": "#20377b",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 224.835,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.11931,
    "h": 266.3
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20377B

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

Preview Lab → · Contrast checker → · Palette generator →

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