#20348B#20348B

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

Color values

HEX#20348B
RGBrgb(32, 52, 139)
HSLhsl(229, 63%, 34%)
HSVhsv(229, 77%, 55%)
CMYKcmyk(77%, 62.6%, 0%, 45.5%)
CIE-LABlab(25.64, 24.79, -50.63)
CIE-LCHlch(25.64, 56.37, 296.09°)
OKLaboklab(36.85% -0.0045 -0.1463)
OKLCHoklch(36.85% 0.146 268.2)
XYZxyz(6.4822, 4.6264, 24.9725)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20348B #8B7720
analogous
#20698B #20348B #41208B
triadic
#20348B #8B2034 #348B20
tetradic
#20348B #8B2069 #8B7720 #208B41
square
#20348B #8B2069 #8B7720 #208B41
split-complementary
#20348B #8B4120 #698B20
monochromatic
#090F28 #152159 #20348B #2B47BD #4F68D6

Accessibility & contrast

On white

10.91
#20348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20348B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20348B#FFFFFF#000000##FFFFFF
##20348B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20348b;
/* rgb */ color: rgb(32, 52, 139);
/* oklch */ color: oklch(36.9% 0.146 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d6bae',
    500: '#20348b',
    950: '#000000',
  },
}
SCSS
$custom: #20348b;
$custom-light: #6d6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#20348b",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 228.785,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36854,
    "c": 0.14634,
    "h": 268.2
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20348B

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

Preview Lab → · Contrast checker → · Palette generator →

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