#20628F#20628F

#20628F is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.7% C 0.098 H 242.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#20628F
RGBrgb(32, 98, 143)
HSLhsl(204, 63%, 34%)
HSVhsv(204, 78%, 56%)
CMYKcmyk(77.6%, 31.5%, 0%, 43.9%)
CIE-LABlab(39.62, -4.34, -30.65)
CIE-LCHlch(39.62, 30.96, 261.94°)
OKLaboklab(47.71% -0.0444 -0.0868)
OKLCHoklch(47.71% 0.098 242.9)
XYZxyz(9.9193, 11.0244, 27.5864)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20628F #8F4D20
analogous
#208F85 #20628F #202B8F
triadic
#20628F #8F2062 #628F20
tetradic
#20628F #85208F #8F4D20 #2B8F20
square
#20628F #85208F #8F4D20 #2B8F20
split-complementary
#20628F #8F202B #8F8520
monochromatic
#0A1D2B #15405D #20628F #2B84C1 #51A1D8

Accessibility & contrast

On white

6.55
#20628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#20628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20628F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20628F#FFFFFF#000000##FFFFFF
##20628F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20628f;
/* rgb */ color: rgb(32, 98, 143);
/* oklch */ color: oklch(47.7% 0.098 242.9);
Tailwind
colors: {
  custom: {
    50: '#6c8eb0',
    500: '#20628f',
    950: '#000000',
  },
}
SCSS
$custom: #20628f;
$custom-light: #6c8eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#20628f",
  "rgb": {
    "r": 32,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 204.324,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.09755,
    "h": 242.9
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#20628F
secondary
#BB7B4F
accent
#8441E6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #20628F

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

Preview Lab → · Contrast checker → · Palette generator →

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