#20456E#20456E

#20456E is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.082 H 252.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#20456E
RGBrgb(32, 69, 110)
HSLhsl(212, 55%, 28%)
HSVhsv(212, 71%, 43%)
CMYKcmyk(70.9%, 37.3%, 0%, 56.9%)
CIE-LABlab(28.61, 1.53, -27.63)
CIE-LCHlch(28.61, 27.68, 273.18°)
OKLaboklab(38.46% -0.0243 -0.0784)
OKLCHoklch(38.46% 0.082 252.8)
XYZxyz(5.5372, 5.6885, 15.5550)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20456E #6E4920
analogous
#206C6E #20456E #22206E
triadic
#20456E #6E2045 #456E20
tetradic
#20456E #6E206C #6E4920 #206E22
square
#20456E #6E206C #6E4920 #206E22
split-complementary
#20456E #6E2220 #6C6E20
monochromatic
#070F18 #12273F #20456E #2E639D #4181C8

Accessibility & contrast

On white

9.82
#20456E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#20456E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20456E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20456E#FFFFFF#000000##FFFFFF
##20456E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334870
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#004F54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #20456e;
/* rgb */ color: rgb(32, 69, 110);
/* oklch */ color: oklch(38.5% 0.082 252.8);
Tailwind
colors: {
  custom: {
    50: '#657898',
    500: '#20456e',
    950: '#000000',
  },
}
SCSS
$custom: #20456e;
$custom-light: #657898;
$custom-dark: #000000;
JSON
{
  "hex": "#20456e",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 211.538,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.08212,
    "h": 252.8
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#20456E
secondary
#A27748
accent
#984ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #20456E

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

Preview Lab → · Contrast checker → · Palette generator →

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