#20366E#20366E

#20366E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.101 H 265.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#20366E
RGBrgb(32, 54, 110)
HSLhsl(223, 55%, 28%)
HSVhsv(223, 71%, 43%)
CMYKcmyk(70.9%, 50.9%, 0%, 56.9%)
CIE-LABlab(23.90, 11.89, -35.15)
CIE-LCHlch(23.90, 37.10, 288.69°)
OKLaboklab(34.82% -0.0082 -0.1007)
OKLCHoklch(34.82% 0.101 265.4)
XYZxyz(4.7283, 4.0707, 15.2854)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20366E #6E5820
analogous
#205D6E #20366E #31206E
triadic
#20366E #6E2036 #366E20
tetradic
#20366E #6E205D #6E5820 #206E31
square
#20366E #6E205D #6E5820 #206E31
split-complementary
#20366E #6E3120 #5D6E20
monochromatic
#070C18 #121F3F #20366E #2E4D9D #4167C8

Accessibility & contrast

On white

11.58
#20366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20366E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20366E#FFFFFF#000000##FFFFFF
##20366E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D70
Deuteranopia (green-blind)
#05366D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20366e;
/* rgb */ color: rgb(32, 54, 110);
/* oklch */ color: oklch(34.8% 0.101 265.4);
Tailwind
colors: {
  custom: {
    50: '#666c98',
    500: '#20366e',
    950: '#000000',
  },
}
SCSS
$custom: #20366e;
$custom-light: #666c98;
$custom-dark: #000000;
JSON
{
  "hex": "#20366e",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 223.077,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34818,
    "c": 0.10106,
    "h": 265.4
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20366E

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

Preview Lab → · Contrast checker → · Palette generator →

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