#20366D#20366D

#20366D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.100 H 265.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#20366D
RGBrgb(32, 54, 109)
HSLhsl(223, 55%, 28%)
HSVhsv(223, 71%, 43%)
CMYKcmyk(70.6%, 50.5%, 0%, 57.3%)
CIE-LABlab(23.83, 11.49, -34.62)
CIE-LCHlch(23.83, 36.47, 288.37°)
OKLaboklab(34.74% -0.0083 -0.0992)
OKLCHoklch(34.74% 0.1 265.2)
XYZxyz(4.6742, 4.0491, 15.0003)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20366D #6D5720
analogous
#205D6D #20366D #30206D
triadic
#20366D #6D2036 #366D20
tetradic
#20366D #6D205D #6D5720 #206D30
square
#20366D #6D205D #6D5720 #206D30
split-complementary
#20366D #6D3020 #5D6D20
monochromatic
#070C18 #121F3E #20366D #2E4D9C #4067C7

Accessibility & contrast

On white

11.60
#20366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20366D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20366D#FFFFFF#000000##FFFFFF
##20366D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6F
Deuteranopia (green-blind)
#07356C
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20366d;
/* rgb */ color: rgb(32, 54, 109);
/* oklch */ color: oklch(34.7% 0.100 265.2);
Tailwind
colors: {
  custom: {
    50: '#656c97',
    500: '#20366d',
    950: '#000000',
  },
}
SCSS
$custom: #20366d;
$custom-light: #656c97;
$custom-dark: #000000;
JSON
{
  "hex": "#20366d",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 222.857,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34741,
    "c": 0.09952,
    "h": 265.2
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#20366D
secondary
#A18748
accent
#B44ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20366D

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

Preview Lab → · Contrast checker → · Palette generator →

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