#20346F#20346F

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

Color values

HEX#20346F
RGBrgb(32, 52, 111)
HSLhsl(225, 55%, 28%)
HSVhsv(225, 71%, 44%)
CMYKcmyk(71.2%, 53.2%, 0%, 56.5%)
CIE-LABlab(23.37, 13.71, -36.64)
CIE-LCHlch(23.37, 39.12, 290.51°)
OKLaboklab(34.44% -0.006 -0.1052)
OKLCHoklch(34.44% 0.105 266.7)
XYZxyz(4.6919, 3.9103, 15.5433)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20346F #6F5B20
analogous
#205B6F #20346F #33206F
triadic
#20346F #6F2034 #346F20
tetradic
#20346F #6F205B #6F5B20 #206F33
square
#20346F #6F205B #6F5B20 #206F33
split-complementary
#20346F #6F3320 #5B6F20
monochromatic
#070B18 #121E3F #20346F #2E4A9F #4163C8

Accessibility & contrast

On white

11.78
#20346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20346F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20346F#FFFFFF#000000##FFFFFF
##20346F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20346f;
/* rgb */ color: rgb(32, 52, 111);
/* oklch */ color: oklch(34.4% 0.105 266.7);
Tailwind
colors: {
  custom: {
    50: '#666b99',
    500: '#20346f',
    950: '#000000',
  },
}
SCSS
$custom: #20346f;
$custom-light: #666b99;
$custom-dark: #000000;
JSON
{
  "hex": "#20346f",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 224.81,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.10534,
    "h": 266.7
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#20346F
secondary
#A38C48
accent
#B949DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #20346F

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

Preview Lab → · Contrast checker → · Palette generator →

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