#20366A#20366A

#20366A is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.095 H 264.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#20366A
RGBrgb(32, 54, 106)
HSLhsl(222, 54%, 27%)
HSVhsv(222, 70%, 42%)
CMYKcmyk(69.8%, 49.1%, 0%, 58.4%)
CIE-LABlab(23.62, 10.30, -33.02)
CIE-LCHlch(23.62, 34.59, 287.32°)
OKLaboklab(34.51% -0.0088 -0.0945)
OKLCHoklch(34.51% 0.095 264.7)
XYZxyz(4.5154, 3.9856, 14.1642)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20366A #6A5420
analogous
#205B6A #20366A #2F206A
triadic
#20366A #6A2036 #366A20
tetradic
#20366A #6A205B #6A5420 #206A2F
square
#20366A #6A205B #6A5420 #206A2F
split-complementary
#20366A #6A2F20 #5B6A20
monochromatic
#070C18 #121E3B #20366A #2E4E99 #3F67C5

Accessibility & contrast

On white

11.68
#20366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20366A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20366A#FFFFFF#000000##FFFFFF
##20366A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#0D3569
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20366a;
/* rgb */ color: rgb(32, 54, 106);
/* oklch */ color: oklch(34.5% 0.095 264.7);
Tailwind
colors: {
  custom: {
    50: '#656c95',
    500: '#20366a',
    950: '#000000',
  },
}
SCSS
$custom: #20366a;
$custom-light: #656c95;
$custom-dark: #000000;
JSON
{
  "hex": "#20366a",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 222.162,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34513,
    "c": 0.09489,
    "h": 264.7
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#20366A
secondary
#9E8448
accent
#B24BDD
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20366A

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

Preview Lab → · Contrast checker → · Palette generator →

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