#20346C#20346C

#20346C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.101 H 266.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#20346C
RGBrgb(32, 52, 108)
HSLhsl(224, 54%, 27%)
HSVhsv(224, 70%, 42%)
CMYKcmyk(70.4%, 51.9%, 0%, 57.6%)
CIE-LABlab(23.15, 12.51, -35.07)
CIE-LCHlch(23.15, 37.23, 289.64°)
OKLaboklab(34.2% -0.0064 -0.1005)
OKLCHoklch(34.2% 0.101 266.4)
XYZxyz(4.5295, 3.8453, 14.6880)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20346C #6C5820
analogous
#205A6C #20346C #32206C
triadic
#20346C #6C2034 #346C20
tetradic
#20346C #6C205A #6C5820 #206C32
square
#20346C #6C205A #6C5820 #206C32
split-complementary
#20346C #6C3220 #5A6C20
monochromatic
#070B18 #121D3D #20346C #2E4B9B #4063C6

Accessibility & contrast

On white

11.87
#20346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20346C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20346C#FFFFFF#000000##FFFFFF
##20346C1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#02346B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20346c;
/* rgb */ color: rgb(32, 52, 108);
/* oklch */ color: oklch(34.2% 0.101 266.4);
Tailwind
colors: {
  custom: {
    50: '#656b96',
    500: '#20346c',
    950: '#000000',
  },
}
SCSS
$custom: #20346c;
$custom-light: #656b96;
$custom-dark: #000000;
JSON
{
  "hex": "#20346c",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 224.211,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.10073,
    "h": 266.4
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#20346C
secondary
#A08948
accent
#B74ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #20346C

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

Preview Lab → · Contrast checker → · Palette generator →

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