#20366F#20366F

#20366F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.103 H 265.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#20366F
RGBrgb(32, 54, 111)
HSLhsl(223, 55%, 28%)
HSVhsv(223, 71%, 44%)
CMYKcmyk(71.2%, 51.4%, 0%, 56.5%)
CIE-LABlab(23.98, 12.29, -35.67)
CIE-LCHlch(23.98, 37.73, 289.01°)
OKLaboklab(34.89% -0.008 -0.1023)
OKLCHoklch(34.89% 0.103 265.5)
XYZxyz(4.7831, 4.0926, 15.5737)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20366F #6F5920
analogous
#205D6F #20366F #31206F
triadic
#20366F #6F2036 #366F20
tetradic
#20366F #6F205D #6F5920 #206F31
square
#20366F #6F205D #6F5920 #206F31
split-complementary
#20366F #6F3120 #5D6F20
monochromatic
#070C18 #121F3F #20366F #2E4D9F #4167C8

Accessibility & contrast

On white

11.55
#20366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#20366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20366F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20366F#FFFFFF#000000##FFFFFF
##20366F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#03366E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20366f;
/* rgb */ color: rgb(32, 54, 111);
/* oklch */ color: oklch(34.9% 0.103 265.5);
Tailwind
colors: {
  custom: {
    50: '#666c99',
    500: '#20366f',
    950: '#000000',
  },
}
SCSS
$custom: #20366f;
$custom-light: #666c99;
$custom-dark: #000000;
JSON
{
  "hex": "#20366f",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 223.291,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.10258,
    "h": 265.5
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#20366F
secondary
#A38A48
accent
#B549DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #20366F

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

Preview Lab → · Contrast checker → · Palette generator →

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