#20369C#20369C

#20369C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.167 H 267.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#20369C
RGBrgb(32, 54, 156)
HSLhsl(229, 66%, 37%)
HSVhsv(229, 79%, 61%)
CMYKcmyk(79.5%, 65.4%, 0%, 38.8%)
CIE-LABlab(27.70, 29.99, -57.72)
CIE-LCHlch(27.70, 65.04, 297.45°)
OKLaboklab(38.84% -0.0062 -0.167)
OKLCHoklch(38.84% 0.167 267.9)
XYZxyz(7.9135, 5.3448, 32.0606)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20369C #9C8620
analogous
#20749C #20369C #48209C
triadic
#20369C #9C2036 #369C20
tetradic
#20369C #9C2074 #9C8620 #209C48
square
#20369C #9C2074 #9C8620 #209C48
split-complementary
#20369C #9C4820 #749C20
monochromatic
#0B1336 #162469 #20369C #2A48CF #5971DD

Accessibility & contrast

On white

10.15
#20369C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#20369C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20369C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20369C#FFFFFF#000000##FFFFFF
##20369C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #20369c;
/* rgb */ color: rgb(32, 54, 156);
/* oklch */ color: oklch(38.8% 0.167 267.9);
Tailwind
colors: {
  custom: {
    50: '#716dba',
    500: '#20369c',
    950: '#000000',
  },
}
SCSS
$custom: #20369c;
$custom-light: #716dba;
$custom-dark: #000000;
JSON
{
  "hex": "#20369c",
  "rgb": {
    "r": 32,
    "g": 54,
    "b": 156
  },
  "hsl": {
    "h": 229.355,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38842,
    "c": 0.16715,
    "h": 267.9
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#20369C
secondary
#C1AE57
accent
#CB3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20369C

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

Preview Lab → · Contrast checker → · Palette generator →

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