#20346E#20346E

#20346E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.104 H 266.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#20346E
RGBrgb(32, 52, 110)
HSLhsl(225, 55%, 28%)
HSVhsv(225, 71%, 43%)
CMYKcmyk(70.9%, 52.7%, 0%, 56.9%)
CIE-LABlab(23.30, 13.31, -36.12)
CIE-LCHlch(23.30, 38.49, 290.23°)
OKLaboklab(34.36% -0.0061 -0.1036)
OKLCHoklch(34.36% 0.104 266.6)
XYZxyz(4.6372, 3.8884, 15.2550)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20346E #6E5A20
analogous
#205B6E #20346E #33206E
triadic
#20346E #6E2034 #346E20
tetradic
#20346E #6E205B #6E5A20 #206E33
square
#20346E #6E205B #6E5A20 #206E33
split-complementary
#20346E #6E3320 #5B6E20
monochromatic
#070B18 #121E3F #20346E #2E4A9D #4163C8

Accessibility & contrast

On white

11.81
#20346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#20346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20346E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20346E#FFFFFF#000000##FFFFFF
##20346E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20346e;
/* rgb */ color: rgb(32, 52, 110);
/* oklch */ color: oklch(34.4% 0.104 266.6);
Tailwind
colors: {
  custom: {
    50: '#666b98',
    500: '#20346e',
    950: '#000000',
  },
}
SCSS
$custom: #20346e;
$custom-light: #666b98;
$custom-dark: #000000;
JSON
{
  "hex": "#20346e",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 224.615,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34357,
    "c": 0.10381,
    "h": 266.6
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#20346E
secondary
#A28B48
accent
#B84ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #20346E

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

Preview Lab → · Contrast checker → · Palette generator →

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