#217D9F#217D9F

#217D9F is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.3% C 0.097 H 228.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#217D9F
RGBrgb(33, 125, 159)
HSLhsl(196, 66%, 38%)
HSVhsv(196, 79%, 62%)
CMYKcmyk(79.2%, 21.4%, 0%, 37.6%)
CIE-LABlab(48.87, -14.22, -25.70)
CIE-LCHlch(48.87, 29.37, 241.05°)
OKLaboklab(55.32% -0.065 -0.0722)
OKLCHoklch(55.32% 0.097 228)
XYZxyz(14.2163, 17.4920, 35.4212)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D9F #9F4321
analogous
#219F82 #217D9F #213E9F
triadic
#217D9F #9F217D #7D9F21
tetradic
#217D9F #82219F #9F4321 #3E9F21
square
#217D9F #82219F #9F4321 #3E9F21
split-complementary
#217D9F #9F213E #9F8221
monochromatic
#0C2D3A #16556C #217D9F #2CA5D2 #5DBBDD

Accessibility & contrast

On white

4.67
#217D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#217D9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217D9F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D9F#FFFFFF#000000##FFFFFF
##217D9F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7BA1
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217d9f;
/* rgb */ color: rgb(33, 125, 159);
/* oklch */ color: oklch(55.3% 0.097 228.0);
Tailwind
colors: {
  custom: {
    50: '#71a2bb',
    500: '#217d9f',
    950: '#000000',
  },
}
SCSS
$custom: #217d9f;
$custom-light: #71a2bb;
$custom-dark: #000000;
JSON
{
  "hex": "#217d9f",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 159
  },
  "hsl": {
    "h": 196.19,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.09718,
    "h": 228
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#217D9F
secondary
#C2765A
accent
#6D3FE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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