#21728F#21728F

#21728F is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.8% C 0.088 H 226.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#21728F
RGBrgb(33, 114, 143)
HSLhsl(196, 63%, 35%)
HSVhsv(196, 77%, 56%)
CMYKcmyk(76.9%, 20.3%, 0%, 43.9%)
CIE-LABlab(44.72, -13.69, -22.71)
CIE-LCHlch(44.72, 26.52, 238.91°)
OKLaboklab(51.77% -0.0601 -0.0637)
OKLCHoklch(51.77% 0.088 226.7)
XYZxyz(11.6004, 14.3398, 28.1377)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21728F #8F3E21
analogous
#218F75 #21728F #213B8F
triadic
#21728F #8F2172 #728F21
tetradic
#21728F #75218F #8F3E21 #3B8F21
square
#21728F #75218F #8F3E21 #3B8F21
split-complementary
#21728F #8F213B #8F7521
monochromatic
#0A232C #164A5D #21728F #2C9AC1 #53B4D7

Accessibility & contrast

On white

5.43
#21728F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#21728F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21728F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21728F#FFFFFF#000000##FFFFFF
##21728F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627090
Deuteranopia (green-blind)
#54658F
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21728f;
/* rgb */ color: rgb(33, 114, 143);
/* oklch */ color: oklch(51.8% 0.088 226.7);
Tailwind
colors: {
  custom: {
    50: '#6e9ab0',
    500: '#21728f',
    950: '#000000',
  },
}
SCSS
$custom: #21728f;
$custom-light: #6e9ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#21728f",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 143
  },
  "hsl": {
    "h": 195.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.0876,
    "h": 226.7
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#21728F
secondary
#BB6D51
accent
#6D42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21728F

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

Preview Lab → · Contrast checker → · Palette generator →

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