#217D9E#217D9E

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

Color values

HEX#217D9E
RGBrgb(33, 125, 158)
HSLhsl(196, 65%, 37%)
HSVhsv(196, 79%, 62%)
CMYKcmyk(79.1%, 20.9%, 0%, 38%)
CIE-LABlab(48.83, -14.57, -25.18)
CIE-LCHlch(48.83, 29.09, 239.94°)
OKLaboklab(55.27% -0.0654 -0.0707)
OKLCHoklch(55.27% 0.096 227.2)
XYZxyz(14.1298, 17.4575, 34.9660)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D9E #9E4221
analogous
#219E81 #217D9E #213F9E
triadic
#217D9E #9E217D #7D9E21
tetradic
#217D9E #81219E #9E4221 #3F9E21
square
#217D9E #81219E #9E4221 #3F9E21
split-complementary
#217D9E #9E213F #9E8121
monochromatic
#0C2D39 #16556B #217D9E #2CA5D1 #5CBBDD

Accessibility & contrast

On white

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

On black

4.49
#217D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217D9E#FFFFFF#000000##FFFFFF
##217D9E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217d9e;
/* rgb */ color: rgb(33, 125, 158);
/* oklch */ color: oklch(55.3% 0.096 227.2);
Tailwind
colors: {
  custom: {
    50: '#71a2ba',
    500: '#217d9e',
    950: '#000000',
  },
}
SCSS
$custom: #217d9e;
$custom-light: #71a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217d9e",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 158
  },
  "hsl": {
    "h": 195.84,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.09634,
    "h": 227.2
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#217D9E
secondary
#C17559
accent
#6C3FE8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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