#20348E#20348E

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

Color values

HEX#20348E
RGBrgb(32, 52, 142)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 77%, 56%)
CMYKcmyk(77.5%, 63.4%, 0%, 44.3%)
CIE-LABlab(25.91, 25.95, -52.05)
CIE-LCHlch(25.91, 58.16, 296.50°)
OKLaboklab(37.13% -0.0046 -0.1504)
OKLCHoklch(37.13% 0.151 268.3)
XYZxyz(6.7044, 4.7153, 26.1427)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20348E #8E7A20
analogous
#206B8E #20348E #43208E
triadic
#20348E #8E2034 #348E20
tetradic
#20348E #8E206B #8E7A20 #208E43
square
#20348E #8E206B #8E7A20 #208E43
split-complementary
#20348E #8E4320 #6B8E20
monochromatic
#090F2A #15225C #20348E #2B46C0 #5169D8

Accessibility & contrast

On white

10.81
#20348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#20348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20348E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20348E#FFFFFF#000000##FFFFFF
##20348E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20348e;
/* rgb */ color: rgb(32, 52, 142);
/* oklch */ color: oklch(37.1% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#6e6bb0',
    500: '#20348e',
    950: '#000000',
  },
}
SCSS
$custom: #20348e;
$custom-light: #6e6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#20348e",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 229.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37132,
    "c": 0.15052,
    "h": 268.3
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#20348E
secondary
#BBA74F
accent
#C842E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20348E

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

Preview Lab → · Contrast checker → · Palette generator →

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