#20628E#20628E

#20628E is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.6% C 0.096 H 242.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#20628E
RGBrgb(32, 98, 142)
HSLhsl(204, 63%, 34%)
HSVhsv(204, 77%, 56%)
CMYKcmyk(77.5%, 31%, 0%, 44.3%)
CIE-LABlab(39.57, -4.72, -30.13)
CIE-LCHlch(39.57, 30.50, 261.09°)
OKLaboklab(47.65% -0.0447 -0.0853)
OKLCHoklch(47.65% 0.096 242.3)
XYZxyz(9.8439, 10.9943, 27.1892)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20628E #8E4C20
analogous
#208E83 #20628E #202B8E
triadic
#20628E #8E2062 #628E20
tetradic
#20628E #83208E #8E4C20 #2B8E20
square
#20628E #83208E #8E4C20 #2B8E20
split-complementary
#20628E #8E202B #8E8320
monochromatic
#091D2A #15405C #20628E #2B84C0 #51A2D8

Accessibility & contrast

On white

6.56
#20628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#20628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20628E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20628E#FFFFFF#000000##FFFFFF
##20628E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#3E598D
Tritanopia (blue-blind)
#006D72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #20628e;
/* rgb */ color: rgb(32, 98, 142);
/* oklch */ color: oklch(47.6% 0.096 242.3);
Tailwind
colors: {
  custom: {
    50: '#6c8eaf',
    500: '#20628e',
    950: '#000000',
  },
}
SCSS
$custom: #20628e;
$custom-light: #6c8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#20628e",
  "rgb": {
    "r": 32,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 204,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.09635,
    "h": 242.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#20628E
secondary
#BB7A4F
accent
#8342E6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #20628E

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

Preview Lab → · Contrast checker → · Palette generator →

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