#20349B#20349B

#20349B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.168 H 268.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#20349B
RGBrgb(32, 52, 155)
HSLhsl(230, 66%, 37%)
HSVhsv(230, 79%, 61%)
CMYKcmyk(79.4%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.10, 30.94, -58.09)
CIE-LCHlch(27.10, 65.81, 298.04°)
OKLaboklab(38.38% -0.005 -0.1681)
OKLCHoklch(38.38% 0.168 268.3)
XYZxyz(7.7380, 5.1287, 31.5861)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20349B #9B8720
analogous
#20729B #20349B #4A209B
triadic
#20349B #9B2034 #349B20
tetradic
#20349B #9B2072 #9B8720 #209B4A
square
#20349B #9B2072 #9B8720 #209B4A
split-complementary
#20349B #9B4A20 #729B20
monochromatic
#0B1236 #162368 #20349B #2A45CE #596EDD

Accessibility & contrast

On white

10.37
#20349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20349B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20349B#FFFFFF#000000##FFFFFF
##20349B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20349b;
/* rgb */ color: rgb(32, 52, 155);
/* oklch */ color: oklch(38.4% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#716bb9',
    500: '#20349b',
    950: '#000000',
  },
}
SCSS
$custom: #20349b;
$custom-light: #716bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20349b",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 230.244,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.16821,
    "h": 268.3
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20349B

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

Preview Lab → · Contrast checker → · Palette generator →

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