#20377F#20377F

#20377F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.125 H 266.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#20377F
RGBrgb(32, 55, 127)
HSLhsl(225, 60%, 31%)
HSVhsv(225, 75%, 50%)
CMYKcmyk(74.8%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.48, 17.97, -43.40)
CIE-LCHlch(25.48, 46.97, 292.50°)
OKLaboklab(36.42% -0.0073 -0.125)
OKLCHoklch(36.42% 0.125 266.7)
XYZxyz(5.7913, 4.5712, 20.6517)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20377F #7F6820
analogous
#20667F #20377F #38207F
triadic
#20377F #7F2037 #377F20
tetradic
#20377F #7F2066 #7F6820 #207F38
square
#20377F #7F2066 #7F6820 #207F38
split-complementary
#20377F #7F3820 #667F20
monochromatic
#070D1D #14224E #20377F #2C4CB0 #4869D1

Accessibility & contrast

On white

10.97
#20377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20377F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20377F#FFFFFF#000000##FFFFFF
##20377F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20377f;
/* rgb */ color: rgb(32, 55, 127);
/* oklch */ color: oklch(36.4% 0.125 266.7);
Tailwind
colors: {
  custom: {
    50: '#6a6da5',
    500: '#20377f',
    950: '#000000',
  },
}
SCSS
$custom: #20377f;
$custom-light: #6a6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#20377f",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 225.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36416,
    "c": 0.12521,
    "h": 266.7
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#20377F
secondary
#B29849
accent
#BD45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20377F

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

Preview Lab → · Contrast checker → · Palette generator →

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