#217A8F#217A8F

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

Color values

HEX#217A8F
RGBrgb(33, 122, 143)
HSLhsl(191, 63%, 35%)
HSVhsv(191, 77%, 56%)
CMYKcmyk(76.9%, 14.7%, 0%, 43.9%)
CIE-LABlab(47.27, -18.15, -18.78)
CIE-LCHlch(47.27, 26.12, 225.99°)
OKLaboklab(53.81% -0.0684 -0.0524)
OKLCHoklch(53.81% 0.086 217.5)
XYZxyz(12.5426, 16.2241, 28.4518)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A8F #8F3621
analogous
#218F6D #217A8F #21438F
triadic
#217A8F #8F217A #7A8F21
tetradic
#217A8F #6D218F #8F3621 #438F21
square
#217A8F #6D218F #8F3621 #438F21
split-complementary
#217A8F #8F2143 #8F6D21
monochromatic
#0A252C #16505D #217A8F #2CA4C1 #53BED7

Accessibility & contrast

On white

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

On black

4.25
#217A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217A8F#FFFFFF#000000##FFFFFF
##217A8F1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217a8f;
/* rgb */ color: rgb(33, 122, 143);
/* oklch */ color: oklch(53.8% 0.086 217.5);
Tailwind
colors: {
  custom: {
    50: '#6ea0af',
    500: '#217a8f',
    950: '#000000',
  },
}
SCSS
$custom: #217a8f;
$custom-light: #6ea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#217a8f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 143
  },
  "hsl": {
    "h": 191.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.08619,
    "h": 217.5
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#217A8F
secondary
#BB6551
accent
#6142E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #217A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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