#20348D#20348D

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

Color values

HEX#20348D
RGBrgb(32, 52, 141)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 77%, 55%)
CMYKcmyk(77.3%, 63.1%, 0%, 44.7%)
CIE-LABlab(25.82, 25.57, -51.58)
CIE-LCHlch(25.82, 57.57, 296.37°)
OKLaboklab(37.04% -0.0046 -0.1491)
OKLCHoklch(37.04% 0.149 268.2)
XYZxyz(6.6297, 4.6854, 25.7491)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20348D #8D7920
analogous
#206B8D #20348D #43208D
triadic
#20348D #8D2034 #348D20
tetradic
#20348D #8D206B #8D7920 #208D43
square
#20348D #8D206B #8D7920 #208D43
split-complementary
#20348D #8D4320 #6B8D20
monochromatic
#090F29 #15225B #20348D #2B46BF #5069D7

Accessibility & contrast

On white

10.84
#20348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20348D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20348D#FFFFFF#000000##FFFFFF
##20348D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20348d;
/* rgb */ color: rgb(32, 52, 141);
/* oklch */ color: oklch(37.0% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d6baf',
    500: '#20348d',
    950: '#000000',
  },
}
SCSS
$custom: #20348d;
$custom-light: #6d6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#20348d",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 228.991,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.14913,
    "h": 268.2
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#20348D
secondary
#BAA74E
accent
#C842E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20348D

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

Preview Lab → · Contrast checker → · Palette generator →

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