#21757E#21757E

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

Color values

HEX#21757E
RGBrgb(33, 117, 126)
HSLhsl(186, 58%, 31%)
HSVhsv(186, 74%, 49%)
CMYKcmyk(73.8%, 7.1%, 0%, 50.6%)
CIE-LABlab(45.01, -21.16, -12.12)
CIE-LCHlch(45.01, 24.39, 209.80°)
OKLaboklab(51.78% -0.0705 -0.0337)
OKLCHoklch(51.78% 0.078 205.5)
XYZxyz(10.7527, 14.5510, 21.9765)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21757E #7E2A21
analogous
#217E58 #21757E #21467E
triadic
#21757E #7E2175 #757E21
tetradic
#21757E #58217E #7E2A21 #467E21
square
#21757E #58217E #7E2A21 #467E21
split-complementary
#21757E #7E2146 #7E5821
monochromatic
#081B1D #14484E #21757E #2EA2AE #4AC3D0

Accessibility & contrast

On white

5.37
#21757E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#21757E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21757E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21757E#FFFFFF#000000##FFFFFF
##21757E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B707F
Deuteranopia (green-blind)
#5E667E
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21757e;
/* rgb */ color: rgb(33, 117, 126);
/* oklch */ color: oklch(51.8% 0.078 205.5);
Tailwind
colors: {
  custom: {
    50: '#6c9da3',
    500: '#21757e',
    950: '#000000',
  },
}
SCSS
$custom: #21757e;
$custom-light: #6c9da3;
$custom-dark: #000000;
JSON
{
  "hex": "#21757e",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 126
  },
  "hsl": {
    "h": 185.806,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.07815,
    "h": 205.5
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#21757E
secondary
#B1544A
accent
#5546E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21757E

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

Preview Lab → · Contrast checker → · Palette generator →

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