#20456C#20456C

#20456C is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.3% C 0.079 H 251.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#20456C
RGBrgb(32, 69, 108)
HSLhsl(211, 54%, 27%)
HSVhsv(211, 70%, 42%)
CMYKcmyk(70.4%, 36.1%, 0%, 57.6%)
CIE-LABlab(28.50, 0.76, -26.54)
CIE-LCHlch(28.50, 26.55, 271.63°)
OKLaboklab(38.33% -0.0249 -0.0752)
OKLCHoklch(38.33% 0.079 251.7)
XYZxyz(5.4296, 5.6455, 14.9880)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20456C #6C4720
analogous
#206B6C #20456C #21206C
triadic
#20456C #6C2045 #456C20
tetradic
#20456C #6C206B #6C4720 #206C21
square
#20456C #6C206B #6C4720 #206C21
split-complementary
#20456C #6C2120 #6B6C20
monochromatic
#070F18 #12273D #20456C #2E639B #4081C6

Accessibility & contrast

On white

9.86
#20456C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#20456C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20456C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20456C#FFFFFF#000000##FFFFFF
##20456C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#29406B
Tritanopia (blue-blind)
#004E53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #20456c;
/* rgb */ color: rgb(32, 69, 108);
/* oklch */ color: oklch(38.3% 0.079 251.7);
Tailwind
colors: {
  custom: {
    50: '#657896',
    500: '#20456c',
    950: '#000000',
  },
}
SCSS
$custom: #20456c;
$custom-light: #657896;
$custom-dark: #000000;
JSON
{
  "hex": "#20456c",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 108
  },
  "hsl": {
    "h": 210.789,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.07927,
    "h": 251.7
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#20456C
secondary
#A07548
accent
#964ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #20456C

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

Preview Lab → · Contrast checker → · Palette generator →

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