#21747F#21747F

#21747F is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.6% C 0.078 H 207.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#21747F
RGBrgb(33, 116, 127)
HSLhsl(187, 59%, 31%)
HSVhsv(187, 74%, 50%)
CMYKcmyk(74%, 8.7%, 0%, 50.2%)
CIE-LABlab(44.72, -20.30, -13.16)
CIE-LCHlch(44.72, 24.19, 212.95°)
OKLaboklab(51.56% -0.069 -0.0366)
OKLCHoklch(51.56% 0.078 207.9)
XYZxyz(10.7017, 14.3452, 22.2794)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21747F #7F2C21
analogous
#217F5B #21747F #21457F
triadic
#21747F #7F2174 #747F21
tetradic
#21747F #5B217F #7F2C21 #457F21
square
#21747F #5B217F #7F2C21 #457F21
split-complementary
#21747F #7F2145 #7F5B21
monochromatic
#081B1E #14484E #21747F #2EA0B0 #4AC0D0

Accessibility & contrast

On white

5.43
#21747F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#21747F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21747F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21747F#FFFFFF#000000##FFFFFF
##21747F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696F80
Deuteranopia (green-blind)
#5C667F
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21747f;
/* rgb */ color: rgb(33, 116, 127);
/* oklch */ color: oklch(51.6% 0.078 207.9);
Tailwind
colors: {
  custom: {
    50: '#6c9ca4',
    500: '#21747f',
    950: '#000000',
  },
}
SCSS
$custom: #21747f;
$custom-light: #6c9ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#21747f",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 127
  },
  "hsl": {
    "h": 187.021,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.07808,
    "h": 207.9
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#21747F
secondary
#B2564A
accent
#5846E2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21747F

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

Preview Lab → · Contrast checker → · Palette generator →

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