#21728C#21728C

#21728C is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.6% C 0.085 H 224.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#21728C
RGBrgb(33, 114, 140)
HSLhsl(195, 62%, 34%)
HSVhsv(195, 76%, 55%)
CMYKcmyk(76.4%, 18.6%, 0%, 45.1%)
CIE-LABlab(44.59, -14.75, -21.12)
CIE-LCHlch(44.59, 25.76, 235.06°)
OKLaboklab(51.62% -0.0613 -0.0591)
OKLCHoklch(51.62% 0.085 224)
XYZxyz(11.3762, 14.2501, 26.9568)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21728C #8C3B21
analogous
#218C71 #21728C #213D8C
triadic
#21728C #8C2172 #728C21
tetradic
#21728C #71218C #8C3B21 #3D8C21
square
#21728C #71218C #8C3B21 #3D8C21
split-complementary
#21728C #8C213D #8C7121
monochromatic
#0A2129 #154A5A #21728C #2D9ABE #51B6D6

Accessibility & contrast

On white

5.45
#21728C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#21728C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21728C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21728C#FFFFFF#000000##FFFFFF
##21728C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636F8D
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#007A7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21728c;
/* rgb */ color: rgb(33, 114, 140);
/* oklch */ color: oklch(51.6% 0.085 224.0);
Tailwind
colors: {
  custom: {
    50: '#6d9aad',
    500: '#21728c',
    950: '#000000',
  },
}
SCSS
$custom: #21728c;
$custom-light: #6d9aad;
$custom-dark: #000000;
JSON
{
  "hex": "#21728c",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 140
  },
  "hsl": {
    "h": 194.579,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.08521,
    "h": 224
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#21728C
secondary
#B9694F
accent
#6A43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21728C

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

Preview Lab → · Contrast checker → · Palette generator →

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