#20377E#20377E

#20377E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.124 H 266.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#20377E
RGBrgb(32, 55, 126)
HSLhsl(225, 59%, 31%)
HSVhsv(225, 75%, 49%)
CMYKcmyk(74.6%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.40, 17.57, -42.90)
CIE-LCHlch(25.40, 46.36, 292.28°)
OKLaboklab(36.33% -0.0073 -0.1235)
OKLCHoklch(36.33% 0.124 266.6)
XYZxyz(5.7264, 4.5452, 20.3101)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20377E #7E6720
analogous
#20667E #20377E #38207E
triadic
#20377E #7E2037 #377E20
tetradic
#20377E #7E2066 #7E6720 #207E38
square
#20377E #7E2066 #7E6720 #207E38
split-complementary
#20377E #7E3820 #667E20
monochromatic
#070C1C #14224D #20377E #2C4CAF #4869D0

Accessibility & contrast

On white

11.00
#20377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#20377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20377E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20377E#FFFFFF#000000##FFFFFF
##20377E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20377e;
/* rgb */ color: rgb(32, 55, 126);
/* oklch */ color: oklch(36.3% 0.124 266.6);
Tailwind
colors: {
  custom: {
    50: '#696da4',
    500: '#20377e',
    950: '#000000',
  },
}
SCSS
$custom: #20377e;
$custom-light: #696da4;
$custom-dark: #000000;
JSON
{
  "hex": "#20377e",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 225.319,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36332,
    "c": 0.12374,
    "h": 266.6
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#20377E
secondary
#B19749
accent
#BC45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20377E

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

Preview Lab → · Contrast checker → · Palette generator →

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