#21728A#21728A

#21728A is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.5% C 0.084 H 222.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#21728A
RGBrgb(33, 114, 138)
HSLhsl(194, 61%, 34%)
HSVhsv(194, 76%, 54%)
CMYKcmyk(76.1%, 17.4%, 0%, 45.9%)
CIE-LABlab(44.51, -15.45, -20.06)
CIE-LCHlch(44.51, 25.32, 232.38°)
OKLaboklab(51.53% -0.0621 -0.0561)
OKLCHoklch(51.53% 0.084 222.1)
XYZxyz(11.2301, 14.1916, 26.1872)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21728A #8A3921
analogous
#218A6D #21728A #213D8A
triadic
#21728A #8A2172 #728A21
tetradic
#21728A #6D218A #8A3921 #3D8A21
square
#21728A #6D218A #8A3921 #3D8A21
split-complementary
#21728A #8A213D #8A6D21
monochromatic
#092027 #154959 #21728A #2D9BBB #50B7D5

Accessibility & contrast

On white

5.47
#21728A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#21728A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21728A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21728A#FFFFFF#000000##FFFFFF
##21728A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#007A7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21728a;
/* rgb */ color: rgb(33, 114, 138);
/* oklch */ color: oklch(51.5% 0.084 222.1);
Tailwind
colors: {
  custom: {
    50: '#6d9aac',
    500: '#21728a',
    950: '#000000',
  },
}
SCSS
$custom: #21728a;
$custom-light: #6d9aac;
$custom-dark: #000000;
JSON
{
  "hex": "#21728a",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 138
  },
  "hsl": {
    "h": 193.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.08372,
    "h": 222.1
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#21728A
secondary
#B9674E
accent
#6843E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21728A

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

Preview Lab → · Contrast checker → · Palette generator →

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