#21728B#21728B

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

Color values

HEX#21728B
RGBrgb(33, 114, 139)
HSLhsl(194, 62%, 34%)
HSVhsv(194, 76%, 55%)
CMYKcmyk(76.3%, 18%, 0%, 45.5%)
CIE-LABlab(44.55, -15.10, -20.59)
CIE-LCHlch(44.55, 25.53, 233.73°)
OKLaboklab(51.58% -0.0617 -0.0576)
OKLCHoklch(51.58% 0.084 223)
XYZxyz(11.3028, 14.2207, 26.5703)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21728B #8B3A21
analogous
#218B6F #21728B #213D8B
triadic
#21728B #8B2172 #728B21
tetradic
#21728B #6F218B #8B3A21 #3D8B21
square
#21728B #6F218B #8B3A21 #3D8B21
split-complementary
#21728B #8B213D #8B6F21
monochromatic
#0A2128 #15495A #21728B #2D9BBC #51B6D6

Accessibility & contrast

On white

5.46
#21728B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21728B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21728B#FFFFFF#000000##FFFFFF
##21728B1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646F8C
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#007A7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21728b;
/* rgb */ color: rgb(33, 114, 139);
/* oklch */ color: oklch(51.6% 0.084 223.0);
Tailwind
colors: {
  custom: {
    50: '#6d9aad',
    500: '#21728b',
    950: '#000000',
  },
}
SCSS
$custom: #21728b;
$custom-light: #6d9aad;
$custom-dark: #000000;
JSON
{
  "hex": "#21728b",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 139
  },
  "hsl": {
    "h": 194.151,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.08445,
    "h": 223
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#21728B
secondary
#B9684F
accent
#6943E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21728B

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

Preview Lab → · Contrast checker → · Palette generator →

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