#215840#215840

#215840 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.071 H 162.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#215840
RGBrgb(33, 88, 64)
HSLhsl(154, 45%, 24%)
HSVhsv(154, 63%, 35%)
CMYKcmyk(62.5%, 0%, 27.3%, 65.5%)
CIE-LABlab(33.29, -24.59, 8.61)
CIE-LCHlch(33.29, 26.06, 160.72°)
OKLaboklab(41.63% -0.0677 0.022)
OKLCHoklch(41.63% 0.071 162)
XYZxyz(5.0419, 7.6725, 6.0647)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215840 #582139
analogous
#215824 #215840 #215458
triadic
#215840 #402158 #584021
tetradic
#215840 #242158 #582139 #545821
square
#215840 #242158 #582139 #545821
split-complementary
#215840 #582154 #582421
monochromatic
#081610 #102B20 #215840 #328560 #42B181

Accessibility & contrast

On white

8.29
#215840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#215840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215840
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215840#FFFFFF#000000##FFFFFF
##2158401.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#085851
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #215840;
/* rgb */ color: rgb(33, 88, 64);
/* oklch */ color: oklch(41.6% 0.071 162.0);
Tailwind
colors: {
  custom: {
    50: '#628774',
    500: '#215840',
    950: '#000000',
  },
}
SCSS
$custom: #215840;
$custom-light: #628774;
$custom-dark: #000000;
JSON
{
  "hex": "#215840",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 64
  },
  "hsl": {
    "h": 153.818,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.07118,
    "h": 162
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#215840
secondary
#8C4966
accent
#538CD5
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#050B08
muted
#7A7C7B

Preview Lab

Preview with #215840

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

Preview Lab → · Contrast checker → · Palette generator →

#215840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva