#20366C#20366C

#20366C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.098 H 265.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#20366C
RGBrgb(32, 54, 108)
HSLhsl(223, 54%, 27%)
HSVhsv(223, 70%, 42%)
CMYKcmyk(70.4%, 50%, 0%, 57.6%)
CIE-LABlab(23.76, 11.09, -34.09)
CIE-LCHlch(23.76, 35.85, 288.03°)
OKLaboklab(34.66% -0.0085 -0.0976)
OKLCHoklch(34.66% 0.098 265)
XYZxyz(4.6207, 4.0277, 14.7184)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20366C #6C5620
analogous
#205C6C #20366C #30206C
triadic
#20366C #6C2036 #366C20
tetradic
#20366C #6C205C #6C5620 #206C30
square
#20366C #6C205C #6C5620 #206C30
split-complementary
#20366C #6C3020 #5C6C20
monochromatic
#070C18 #121E3D #20366C #2E4E9B #4067C6

Accessibility & contrast

On white

11.63
#20366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20366C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20366C#FFFFFF#000000##FFFFFF
##20366C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6E
Deuteranopia (green-blind)
#09356B
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20366c;
/* rgb */ color: rgb(32, 54, 108);
/* oklch */ color: oklch(34.7% 0.098 265.0);
Tailwind
colors: {
  custom: {
    50: '#656c96',
    500: '#20366c',
    950: '#000000',
  },
}
SCSS
$custom: #20366c;
$custom-light: #656c96;
$custom-dark: #000000;
JSON
{
  "hex": "#20366c",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 222.632,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34664,
    "c": 0.09798,
    "h": 265
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#20366C
secondary
#A08648
accent
#B34ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20366C

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

Preview Lab → · Contrast checker → · Palette generator →

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