#21757F#21757F

#21757F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.8% C 0.078 H 206.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#21757F
RGBrgb(33, 117, 127)
HSLhsl(186, 59%, 31%)
HSVhsv(186, 74%, 50%)
CMYKcmyk(74%, 7.9%, 0%, 50.2%)
CIE-LABlab(45.05, -20.84, -12.67)
CIE-LCHlch(45.05, 24.38, 211.29°)
OKLaboklab(51.82% -0.0701 -0.0352)
OKLCHoklch(51.82% 0.078 206.7)
XYZxyz(10.8176, 14.5769, 22.3181)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21757F #7F2B21
analogous
#217F5A #21757F #21467F
triadic
#21757F #7F2175 #757F21
tetradic
#21757F #5A217F #7F2B21 #467F21
square
#21757F #5A217F #7F2B21 #467F21
split-complementary
#21757F #7F2146 #7F5A21
monochromatic
#081B1E #14484E #21757F #2EA2B0 #4AC2D0

Accessibility & contrast

On white

5.36
#21757F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#21757F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21757F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21757F#FFFFFF#000000##FFFFFF
##21757F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7080
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21757f;
/* rgb */ color: rgb(33, 117, 127);
/* oklch */ color: oklch(51.8% 0.078 206.7);
Tailwind
colors: {
  custom: {
    50: '#6c9da4',
    500: '#21757f',
    950: '#000000',
  },
}
SCSS
$custom: #21757f;
$custom-light: #6c9da4;
$custom-dark: #000000;
JSON
{
  "hex": "#21757f",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 127
  },
  "hsl": {
    "h": 186.383,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.07841,
    "h": 206.7
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#21757F
secondary
#B2554A
accent
#5646E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21757F

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

Preview Lab → · Contrast checker → · Palette generator →

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