#20349C#20349C

#20349C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.170 H 268.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#20349C
RGBrgb(32, 52, 156)
HSLhsl(230, 66%, 37%)
HSVhsv(230, 79%, 61%)
CMYKcmyk(79.5%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.19, 31.31, -58.54)
CIE-LCHlch(27.19, 66.39, 298.14°)
OKLaboklab(38.47% -0.0051 -0.1695)
OKLCHoklch(38.47% 0.17 268.3)
XYZxyz(7.8223, 5.1625, 32.0302)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20349C #9C8820
analogous
#20729C #20349C #4A209C
triadic
#20349C #9C2034 #349C20
tetradic
#20349C #9C2072 #9C8820 #209C4A
square
#20349C #9C2072 #9C8820 #209C4A
split-complementary
#20349C #9C4A20 #729C20
monochromatic
#0B1236 #162369 #20349C #2A45CF #596FDD

Accessibility & contrast

On white

10.33
#20349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#20349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20349C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20349C#FFFFFF#000000##FFFFFF
##20349C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20349c;
/* rgb */ color: rgb(32, 52, 156);
/* oklch */ color: oklch(38.5% 0.170 268.3);
Tailwind
colors: {
  custom: {
    50: '#716bba',
    500: '#20349c',
    950: '#000000',
  },
}
SCSS
$custom: #20349c;
$custom-light: #716bba;
$custom-dark: #000000;
JSON
{
  "hex": "#20349c",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 230.323,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.16954,
    "h": 268.3
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#20349C
secondary
#C1B057
accent
#CD3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20349C

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

Preview Lab → · Contrast checker → · Palette generator →

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