#217865#217865

#217865 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.086 H 174.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#217865
RGBrgb(33, 120, 101)
HSLhsl(167, 57%, 30%)
HSVhsv(167, 73%, 47%)
CMYKcmyk(72.5%, 0%, 15.8%, 52.9%)
CIE-LABlab(45.21, -30.26, 3.09)
CIE-LCHlch(45.21, 30.42, 174.17°)
OKLaboklab(51.68% -0.0859 0.0077)
OKLCHoklch(51.68% 0.086 174.9)
XYZxyz(9.6915, 14.6947, 14.6350)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217865 #782134
analogous
#21783A #217865 #215F78
triadic
#217865 #652178 #786521
tetradic
#217865 #3A2178 #782134 #5F7821
square
#217865 #3A2178 #782134 #5F7821
split-complementary
#217865 #78215F #783A21
monochromatic
#071814 #14483D #217865 #2EA88D #47CCAF

Accessibility & contrast

On white

5.33
#217865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#217865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217865
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217865#FFFFFF#000000##FFFFFF
##2178651.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747064
Deuteranopia (green-blind)
#686766
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217865;
/* rgb */ color: rgb(33, 120, 101);
/* oklch */ color: oklch(51.7% 0.086 174.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f90',
    500: '#217865',
    950: '#000000',
  },
}
SCSS
$custom: #217865;
$custom-light: #6a9f90;
$custom-dark: #000000;
JSON
{
  "hex": "#217865",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 101
  },
  "hsl": {
    "h": 166.897,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.08627,
    "h": 174.9
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#217865
secondary
#AB4A5F
accent
#4869E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #217865

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

Preview Lab → · Contrast checker → · Palette generator →

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