#217A8E#217A8E

#217A8E is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.086 H 216.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#217A8E
RGBrgb(33, 122, 142)
HSLhsl(191, 62%, 34%)
HSVhsv(191, 77%, 56%)
CMYKcmyk(76.8%, 14.1%, 0%, 44.3%)
CIE-LABlab(47.23, -18.49, -18.25)
CIE-LCHlch(47.23, 25.98, 224.63°)
OKLaboklab(53.77% -0.0688 -0.0509)
OKLCHoklch(53.77% 0.086 216.5)
XYZxyz(12.4671, 16.1939, 28.0546)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A8E #8E3521
analogous
#218E6C #217A8E #21448E
triadic
#217A8E #8E217A #7A8E21
tetradic
#217A8E #6C218E #8E3521 #448E21
square
#217A8E #6C218E #8E3521 #448E21
split-complementary
#217A8E #8E2144 #8E6C21
monochromatic
#0A252B #154F5C #217A8E #2DA5C0 #52BFD7

Accessibility & contrast

On white

4.95
#217A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#217A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A8E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A8E#FFFFFF#000000##FFFFFF
##217A8E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768F
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217a8e;
/* rgb */ color: rgb(33, 122, 142);
/* oklch */ color: oklch(53.8% 0.086 216.5);
Tailwind
colors: {
  custom: {
    50: '#6ea0af',
    500: '#217a8e',
    950: '#000000',
  },
}
SCSS
$custom: #217a8e;
$custom-light: #6ea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#217a8e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 142
  },
  "hsl": {
    "h": 191.009,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.08562,
    "h": 216.5
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#217A8E
secondary
#BA6450
accent
#6042E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #217A8E

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

Preview Lab → · Contrast checker → · Palette generator →

#217A8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva