#20377D#20377D

#20377D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.122 H 266.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#20377D
RGBrgb(32, 55, 125)
HSLhsl(225, 59%, 31%)
HSVhsv(225, 74%, 49%)
CMYKcmyk(74.4%, 56%, 0%, 51%)
CIE-LABlab(25.32, 17.18, -42.40)
CIE-LCHlch(25.32, 45.74, 292.05°)
OKLaboklab(36.25% -0.0074 -0.122)
OKLCHoklch(36.25% 0.122 266.5)
XYZxyz(5.6622, 4.5195, 19.9720)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20377D #7D6620
analogous
#20657D #20377D #37207D
triadic
#20377D #7D2037 #377D20
tetradic
#20377D #7D2065 #7D6620 #207D37
square
#20377D #7D2065 #7D6620 #207D37
split-complementary
#20377D #7D3720 #657D20
monochromatic
#070C1C #14224C #20377D #2C4CAE #4769D0

Accessibility & contrast

On white

11.03
#20377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#20377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20377D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20377D#FFFFFF#000000##FFFFFF
##20377D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20377d;
/* rgb */ color: rgb(32, 55, 125);
/* oklch */ color: oklch(36.2% 0.122 266.5);
Tailwind
colors: {
  custom: {
    50: '#696da3',
    500: '#20377d',
    950: '#000000',
  },
}
SCSS
$custom: #20377d;
$custom-light: #696da3;
$custom-dark: #000000;
JSON
{
  "hex": "#20377d",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 225.161,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.12227,
    "h": 266.5
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#20377D
secondary
#B09649
accent
#BC45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20377D

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

Preview Lab → · Contrast checker → · Palette generator →

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