#217786#217786

#217786 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.6% C 0.081 H 211.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#217786
RGBrgb(33, 119, 134)
HSLhsl(189, 60%, 33%)
HSVhsv(189, 75%, 53%)
CMYKcmyk(75.4%, 11.2%, 0%, 47.5%)
CIE-LABlab(45.96, -19.57, -15.46)
CIE-LCHlch(45.96, 24.94, 218.29°)
OKLaboklab(52.64% -0.0691 -0.043)
OKLCHoklch(52.64% 0.081 211.9)
XYZxyz(11.5253, 15.2368, 24.8832)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217786 #863021
analogous
#218662 #217786 #214486
triadic
#217786 #862177 #778621
tetradic
#217786 #622186 #863021 #448621
square
#217786 #622186 #863021 #448621
split-complementary
#217786 #862144 #866221
monochromatic
#092024 #154B55 #217786 #2DA3B7 #4EC0D3

Accessibility & contrast

On white

5.19
#217786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217786
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217786#FFFFFF#000000##FFFFFF
##2177861.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7387
Deuteranopia (green-blind)
#5D6886
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217786;
/* rgb */ color: rgb(33, 119, 134);
/* oklch */ color: oklch(52.6% 0.081 211.9);
Tailwind
colors: {
  custom: {
    50: '#6d9ea9',
    500: '#217786',
    950: '#000000',
  },
}
SCSS
$custom: #217786;
$custom-light: #6d9ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#217786",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 134
  },
  "hsl": {
    "h": 188.911,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.08141,
    "h": 211.9
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#217786
secondary
#B75C4C
accent
#5C44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #217786

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

Preview Lab → · Contrast checker → · Palette generator →

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