#20348F#20348F

#20348F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.152 H 268.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#20348F
RGBrgb(32, 52, 143)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 78%, 56%)
CMYKcmyk(77.6%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.00, 26.34, -52.52)
CIE-LCHlch(26.00, 58.76, 296.63°)
OKLaboklab(37.23% -0.0046 -0.1518)
OKLCHoklch(37.23% 0.152 268.3)
XYZxyz(6.7799, 4.7455, 26.5399)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20348F #8F7B20
analogous
#206C8F #20348F #44208F
triadic
#20348F #8F2034 #348F20
tetradic
#20348F #8F206C #8F7B20 #208F44
square
#20348F #8F206C #8F7B20 #208F44
split-complementary
#20348F #8F4420 #6C8F20
monochromatic
#0A102B #15225D #20348F #2B46C1 #516AD8

Accessibility & contrast

On white

10.77
#20348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#20348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20348F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20348F#FFFFFF#000000##FFFFFF
##20348F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20348f;
/* rgb */ color: rgb(32, 52, 143);
/* oklch */ color: oklch(37.2% 0.152 268.3);
Tailwind
colors: {
  custom: {
    50: '#6e6bb1',
    500: '#20348f',
    950: '#000000',
  },
}
SCSS
$custom: #20348f;
$custom-light: #6e6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#20348f",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 229.189,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37226,
    "c": 0.15191,
    "h": 268.3
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#20348F
secondary
#BBA84F
accent
#C941E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20348F

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

Preview Lab → · Contrast checker → · Palette generator →

#20348F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva