#21747C#21747C

#21747C is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.4% C 0.077 H 204.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#21747C
RGBrgb(33, 116, 124)
HSLhsl(185, 58%, 31%)
HSVhsv(185, 73%, 49%)
CMYKcmyk(73.4%, 6.5%, 0%, 51.4%)
CIE-LABlab(44.62, -21.29, -11.53)
CIE-LCHlch(44.62, 24.21, 208.44°)
OKLaboklab(51.44% -0.0703 -0.032)
OKLCHoklch(51.44% 0.077 204.5)
XYZxyz(10.5091, 14.2681, 21.2650)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21747C #7C2921
analogous
#217C56 #21747C #21467C
triadic
#21747C #7C2174 #747C21
tetradic
#21747C #56217C #7C2921 #467C21
square
#21747C #56217C #7C2921 #467C21
split-complementary
#21747C #7C2146 #7C5621
monochromatic
#071A1B #14474C #21747C #2EA1AC #49C3CF

Accessibility & contrast

On white

5.45
#21747C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#21747C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21747C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21747C#FFFFFF#000000##FFFFFF
##21747C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6F7D
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#007976
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21747c;
/* rgb */ color: rgb(33, 116, 124);
/* oklch */ color: oklch(51.4% 0.077 204.5);
Tailwind
colors: {
  custom: {
    50: '#6b9ca1',
    500: '#21747c',
    950: '#000000',
  },
}
SCSS
$custom: #21747c;
$custom-light: #6b9ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#21747c",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 124
  },
  "hsl": {
    "h": 185.275,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.07728,
    "h": 204.5
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#21747C
secondary
#AF534A
accent
#5447E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #21747C

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

Preview Lab → · Contrast checker → · Palette generator →

#21747C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva