#217D9D#217D9D

#217D9D is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.2% C 0.096 H 226.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#217D9D
RGBrgb(33, 125, 157)
HSLhsl(195, 65%, 37%)
HSVhsv(195, 79%, 62%)
CMYKcmyk(79%, 20.4%, 0%, 38.4%)
CIE-LABlab(48.79, -14.93, -24.66)
CIE-LCHlch(48.79, 28.83, 238.82°)
OKLaboklab(55.22% -0.0658 -0.0692)
OKLCHoklch(55.22% 0.096 226.5)
XYZxyz(14.0441, 17.4232, 34.5146)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D9D #9D4121
analogous
#219D7F #217D9D #213F9D
triadic
#217D9D #9D217D #7D9D21
tetradic
#217D9D #7F219D #9D4121 #3F9D21
square
#217D9D #7F219D #9D4121 #3F9D21
split-complementary
#217D9D #9D213F #9D7F21
monochromatic
#0C2C38 #16556A #217D9D #2CA5D0 #5CBBDD

Accessibility & contrast

On white

4.68
#217D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#217D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D9D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D9D#FFFFFF#000000##FFFFFF
##217D9D1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7B9F
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217d9d;
/* rgb */ color: rgb(33, 125, 157);
/* oklch */ color: oklch(55.2% 0.096 226.5);
Tailwind
colors: {
  custom: {
    50: '#71a2ba',
    500: '#217d9d',
    950: '#000000',
  },
}
SCSS
$custom: #217d9d;
$custom-light: #71a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217d9d",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 195.484,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.09552,
    "h": 226.5
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#217D9D
secondary
#C17459
accent
#6B40E8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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