#20367C#20367C

#20367C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.122 H 266.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#20367C
RGBrgb(32, 54, 124)
HSLhsl(226, 59%, 31%)
HSVhsv(226, 74%, 49%)
CMYKcmyk(74.2%, 56.5%, 0%, 51.4%)
CIE-LABlab(24.95, 17.48, -42.36)
CIE-LCHlch(24.95, 45.83, 292.42°)
OKLaboklab(35.95% -0.0066 -0.122)
OKLCHoklch(35.95% 0.122 266.9)
XYZxyz(5.5517, 4.4001, 19.6216)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20367C #7C6620
analogous
#20647C #20367C #38207C
triadic
#20367C #7C2036 #367C20
tetradic
#20367C #7C2064 #7C6620 #207C38
square
#20367C #7C2064 #7C6620 #207C38
split-complementary
#20367C #7C3820 #647C20
monochromatic
#070C1B #13214B #20367C #2D4BAD #4768CF

Accessibility & contrast

On white

11.17
#20367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#20367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20367C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20367C#FFFFFF#000000##FFFFFF
##20367C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20367c;
/* rgb */ color: rgb(32, 54, 124);
/* oklch */ color: oklch(35.9% 0.122 266.9);
Tailwind
colors: {
  custom: {
    50: '#696ca2',
    500: '#20367c',
    950: '#000000',
  },
}
SCSS
$custom: #20367c;
$custom-light: #696ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#20367c",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 225.652,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35947,
    "c": 0.12214,
    "h": 266.9
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#20367C
secondary
#AF9749
accent
#BD46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20367C

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

Preview Lab → · Contrast checker → · Palette generator →

#20367C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva