#20366B#20366B

#20366B is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.096 H 264.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#20366B
RGBrgb(32, 54, 107)
HSLhsl(222, 54%, 27%)
HSVhsv(222, 70%, 42%)
CMYKcmyk(70.1%, 49.5%, 0%, 58%)
CIE-LABlab(23.69, 10.69, -33.56)
CIE-LCHlch(23.69, 35.22, 287.68°)
OKLaboklab(34.59% -0.0086 -0.096)
OKLCHoklch(34.59% 0.096 264.9)
XYZxyz(4.5677, 4.0065, 14.4397)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20366B #6B5520
analogous
#205C6B #20366B #30206B
triadic
#20366B #6B2036 #366B20
tetradic
#20366B #6B205C #6B5520 #206B30
square
#20366B #6B205C #6B5520 #206B30
split-complementary
#20366B #6B3020 #5C6B20
monochromatic
#070C18 #121E3C #20366B #2E4E9A #4067C6

Accessibility & contrast

On white

11.66
#20366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#20366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20366B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20366B#FFFFFF#000000##FFFFFF
##20366B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6D
Deuteranopia (green-blind)
#0C356A
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20366b;
/* rgb */ color: rgb(32, 54, 107);
/* oklch */ color: oklch(34.6% 0.096 264.9);
Tailwind
colors: {
  custom: {
    50: '#656c96',
    500: '#20366b',
    950: '#000000',
  },
}
SCSS
$custom: #20366b;
$custom-light: #656c96;
$custom-dark: #000000;
JSON
{
  "hex": "#20366b",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 222.4,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.09644,
    "h": 264.9
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#20366B
secondary
#9F8548
accent
#B24ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20366B

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

Preview Lab → · Contrast checker → · Palette generator →

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