#20349E#20349E

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

Color values

HEX#20349E
RGBrgb(32, 52, 158)
HSLhsl(230, 66%, 37%)
HSVhsv(230, 80%, 62%)
CMYKcmyk(79.7%, 67.1%, 0%, 38%)
CIE-LABlab(27.38, 32.07, -59.45)
CIE-LCHlch(27.38, 67.55, 298.34°)
OKLaboklab(38.67% -0.0052 -0.1721)
OKLCHoklch(38.67% 0.172 268.3)
XYZxyz(7.9931, 5.2308, 32.9295)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20349E #9E8A20
analogous
#20739E #20349E #4B209E
triadic
#20349E #9E2034 #349E20
tetradic
#20349E #9E2073 #9E8A20 #209E4B
square
#20349E #9E2073 #9E8A20 #209E4B
split-complementary
#20349E #9E4B20 #739E20
monochromatic
#0B1338 #16236B #20349E #2A45D1 #5B6FDE

Accessibility & contrast

On white

10.26
#20349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#20349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20349E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20349E#FFFFFF#000000##FFFFFF
##20349E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #20349e;
/* rgb */ color: rgb(32, 52, 158);
/* oklch */ color: oklch(38.7% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#726bbc',
    500: '#20349e',
    950: '#000000',
  },
}
SCSS
$custom: #20349e;
$custom-light: #726bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#20349e",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 230.476,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.17219,
    "h": 268.3
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20349E

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

Preview Lab → · Contrast checker → · Palette generator →

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