#20348A#20348A

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

Color values

HEX#20348A
RGBrgb(32, 52, 138)
HSLhsl(229, 62%, 33%)
HSVhsv(229, 77%, 54%)
CMYKcmyk(76.8%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.56, 24.40, -50.15)
CIE-LCHlch(25.56, 55.77, 295.94°)
OKLaboklab(36.76% -0.0045 -0.1449)
OKLCHoklch(36.76% 0.145 268.2)
XYZxyz(6.4095, 4.5973, 24.5894)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20348A #8A7620
analogous
#20698A #20348A #41208A
triadic
#20348A #8A2034 #348A20
tetradic
#20348A #8A2069 #8A7620 #208A41
square
#20348A #8A2069 #8A7620 #208A41
split-complementary
#20348A #8A4120 #698A20
monochromatic
#090F27 #142158 #20348A #2C47BC #4E68D6

Accessibility & contrast

On white

10.94
#20348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#20348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20348A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20348A#FFFFFF#000000##FFFFFF
##20348A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #20348a;
/* rgb */ color: rgb(32, 52, 138);
/* oklch */ color: oklch(36.8% 0.145 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d6bad',
    500: '#20348a',
    950: '#000000',
  },
}
SCSS
$custom: #20348a;
$custom-light: #6d6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#20348a",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 228.679,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.14493,
    "h": 268.2
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#20348A
secondary
#B9A54D
accent
#C742E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20348A

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

Preview Lab → · Contrast checker → · Palette generator →

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