#21728D#21728D

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

Color values

HEX#21728D
RGBrgb(33, 114, 141)
HSLhsl(195, 62%, 34%)
HSVhsv(195, 77%, 55%)
CMYKcmyk(76.6%, 19.1%, 0%, 44.7%)
CIE-LABlab(44.63, -14.40, -21.65)
CIE-LCHlch(44.63, 26.00, 236.37°)
OKLaboklab(51.67% -0.0609 -0.0607)
OKLCHoklch(51.67% 0.086 224.9)
XYZxyz(11.4503, 14.2797, 27.3469)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21728D #8D3C21
analogous
#218D72 #21728D #213C8D
triadic
#21728D #8D2172 #728D21
tetradic
#21728D #72218D #8D3C21 #3C8D21
square
#21728D #72218D #8D3C21 #3C8D21
split-complementary
#21728D #8D213C #8D7221
monochromatic
#0A222A #154A5B #21728D #2D9ABF #52B5D6

Accessibility & contrast

On white

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

On black

3.86
#21728D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21728D#FFFFFF#000000##FFFFFF
##21728D1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636F8E
Deuteranopia (green-blind)
#54658D
Tritanopia (blue-blind)
#007A7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21728d;
/* rgb */ color: rgb(33, 114, 141);
/* oklch */ color: oklch(51.7% 0.086 224.9);
Tailwind
colors: {
  custom: {
    50: '#6d9aae',
    500: '#21728d',
    950: '#000000',
  },
}
SCSS
$custom: #21728d;
$custom-light: #6d9aae;
$custom-dark: #000000;
JSON
{
  "hex": "#21728d",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 141
  },
  "hsl": {
    "h": 195,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.08598,
    "h": 224.9
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#21728D
secondary
#BA6A50
accent
#6B43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21728D

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

Preview Lab → · Contrast checker → · Palette generator →

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