#21728E#21728E

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

Color values

HEX#21728E
RGBrgb(33, 114, 142)
HSLhsl(195, 62%, 34%)
HSVhsv(195, 77%, 56%)
CMYKcmyk(76.8%, 19.7%, 0%, 44.3%)
CIE-LABlab(44.67, -14.05, -22.18)
CIE-LCHlch(44.67, 26.25, 237.65°)
OKLaboklab(51.72% -0.0605 -0.0622)
OKLCHoklch(51.72% 0.087 225.8)
XYZxyz(11.5250, 14.3096, 27.7406)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21728E #8E3D21
analogous
#218E74 #21728E #213C8E
triadic
#21728E #8E2172 #728E21
tetradic
#21728E #74218E #8E3D21 #3C8E21
square
#21728E #74218E #8E3D21 #3C8E21
split-complementary
#21728E #8E213C #8E7421
monochromatic
#0A222B #154A5C #21728E #2D9AC0 #52B5D7

Accessibility & contrast

On white

5.44
#21728E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21728E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21728E#FFFFFF#000000##FFFFFF
##21728E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63708F
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#007A7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21728e;
/* rgb */ color: rgb(33, 114, 142);
/* oklch */ color: oklch(51.7% 0.087 225.8);
Tailwind
colors: {
  custom: {
    50: '#6e9aaf',
    500: '#21728e',
    950: '#000000',
  },
}
SCSS
$custom: #21728e;
$custom-light: #6e9aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#21728e",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 142
  },
  "hsl": {
    "h": 195.413,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.08678,
    "h": 225.8
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#21728E
secondary
#BA6C50
accent
#6C42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21728E

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

Preview Lab → · Contrast checker → · Palette generator →

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