#20348C#20348C

#20348C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.148 H 268.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#20348C
RGBrgb(32, 52, 140)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 77%, 55%)
CMYKcmyk(77.1%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.73, 25.18, -51.10)
CIE-LCHlch(25.73, 56.97, 296.23°)
OKLaboklab(36.95% -0.0045 -0.1477)
OKLCHoklch(36.95% 0.148 268.2)
XYZxyz(6.5556, 4.6558, 25.3590)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20348C #8C7820
analogous
#206A8C #20348C #42208C
triadic
#20348C #8C2034 #348C20
tetradic
#20348C #8C206A #8C7820 #208C42
square
#20348C #8C206A #8C7820 #208C42
split-complementary
#20348C #8C4220 #6A8C20
monochromatic
#090F28 #15215A #20348C #2B47BE #5069D7

Accessibility & contrast

On white

10.87
#20348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#20348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20348C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20348C#FFFFFF#000000##FFFFFF
##20348C1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20348c;
/* rgb */ color: rgb(32, 52, 140);
/* oklch */ color: oklch(36.9% 0.148 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d6bae',
    500: '#20348c',
    950: '#000000',
  },
}
SCSS
$custom: #20348c;
$custom-light: #6d6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#20348c",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 228.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.14774,
    "h": 268.2
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#20348C
secondary
#BAA64E
accent
#C742E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20348C

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

Preview Lab → · Contrast checker → · Palette generator →

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