#20349D#20349D

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

Color values

HEX#20349D
RGBrgb(32, 52, 157)
HSLhsl(230, 66%, 37%)
HSVhsv(230, 80%, 62%)
CMYKcmyk(79.6%, 66.9%, 0%, 38.4%)
CIE-LABlab(27.29, 31.69, -59.00)
CIE-LCHlch(27.29, 66.97, 298.24°)
OKLaboklab(38.57% -0.0051 -0.1708)
OKLCHoklch(38.57% 0.171 268.3)
XYZxyz(7.9074, 5.1965, 32.4780)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20349D #9D8920
analogous
#20739D #20349D #4B209D
triadic
#20349D #9D2034 #349D20
tetradic
#20349D #9D2073 #9D8920 #209D4B
square
#20349D #9D2073 #9D8920 #209D4B
split-complementary
#20349D #9D4B20 #739D20
monochromatic
#0B1237 #16236A #20349D #2A45D0 #5A6FDD

Accessibility & contrast

On white

10.30
#20349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#20349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20349D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20349D#FFFFFF#000000##FFFFFF
##20349D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20349d;
/* rgb */ color: rgb(32, 52, 157);
/* oklch */ color: oklch(38.6% 0.171 268.3);
Tailwind
colors: {
  custom: {
    50: '#726bbb',
    500: '#20349d',
    950: '#000000',
  },
}
SCSS
$custom: #20349d;
$custom-light: #726bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#20349d",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 230.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.17086,
    "h": 268.3
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20349D

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

Preview Lab → · Contrast checker → · Palette generator →

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