#21747E#21747E

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

Color values

HEX#21747E
RGBrgb(33, 116, 126)
HSLhsl(186, 58%, 31%)
HSVhsv(186, 74%, 49%)
CMYKcmyk(73.8%, 7.9%, 0%, 50.6%)
CIE-LABlab(44.69, -20.63, -12.62)
CIE-LCHlch(44.69, 24.18, 211.44°)
OKLaboklab(51.52% -0.0694 -0.035)
OKLCHoklch(51.52% 0.078 206.8)
XYZxyz(10.6369, 14.3192, 21.9379)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21747E #7E2B21
analogous
#217E59 #21747E #21457E
triadic
#21747E #7E2174 #747E21
tetradic
#21747E #59217E #7E2B21 #457E21
square
#21747E #59217E #7E2B21 #457E21
split-complementary
#21747E #7E2145 #7E5921
monochromatic
#081B1D #14474E #21747E #2EA1AE #4AC1D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21747E#FFFFFF#000000##FFFFFF
##21747E1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6F7F
Deuteranopia (green-blind)
#5D667E
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21747e;
/* rgb */ color: rgb(33, 116, 126);
/* oklch */ color: oklch(51.5% 0.078 206.8);
Tailwind
colors: {
  custom: {
    50: '#6b9ca3',
    500: '#21747e',
    950: '#000000',
  },
}
SCSS
$custom: #21747e;
$custom-light: #6b9ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#21747e",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 126
  },
  "hsl": {
    "h": 186.452,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.07778,
    "h": 206.8
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#21747E
secondary
#B1554A
accent
#5746E2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #21747E

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

Preview Lab → · Contrast checker → · Palette generator →

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