#21795E#21795E

#21795E is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.093 H 168.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#21795E
RGBrgb(33, 121, 94)
HSLhsl(162, 57%, 30%)
HSVhsv(162, 73%, 47%)
CMYKcmyk(72.7%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.37, -32.60, 7.46)
CIE-LCHlch(45.37, 33.44, 167.11°)
OKLaboklab(51.75% -0.0906 0.0191)
OKLCHoklch(51.75% 0.093 168.1)
XYZxyz(9.4839, 14.8051, 12.9454)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21795E #79213C
analogous
#217932 #21795E #216879
triadic
#21795E #5E2179 #795E21
tetradic
#21795E #322179 #79213C #687921
square
#21795E #322179 #79213C #687921
split-complementary
#21795E #792168 #793221
monochromatic
#071913 #144939 #21795E #2EA983 #47CDA4

Accessibility & contrast

On white

5.30
#21795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#21795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21795E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21795E#FFFFFF#000000##FFFFFF
##21795E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705D
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21795e;
/* rgb */ color: rgb(33, 121, 94);
/* oklch */ color: oklch(51.7% 0.093 168.1);
Tailwind
colors: {
  custom: {
    50: '#69a08b',
    500: '#21795e',
    950: '#000000',
  },
}
SCSS
$custom: #21795e;
$custom-light: #69a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#21795e",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 161.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.09259,
    "h": 168.1
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#21795E
secondary
#AC4A68
accent
#4776E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #21795E

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

Preview Lab → · Contrast checker → · Palette generator →

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