#217E9F#217E9F

#217E9F is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.6% C 0.097 H 227.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#217E9F
RGBrgb(33, 126, 159)
HSLhsl(196, 66%, 38%)
HSVhsv(196, 79%, 62%)
CMYKcmyk(79.2%, 20.8%, 0%, 37.6%)
CIE-LABlab(49.19, -14.78, -25.21)
CIE-LCHlch(49.19, 29.23, 239.62°)
OKLaboklab(55.57% -0.066 -0.0708)
OKLCHoklch(55.57% 0.097 227)
XYZxyz(14.3435, 17.7465, 35.4636)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E9F #9F4221
analogous
#219F81 #217E9F #213F9F
triadic
#217E9F #9F217E #7E9F21
tetradic
#217E9F #81219F #9F4221 #3F9F21
square
#217E9F #81219F #9F4221 #3F9F21
split-complementary
#217E9F #9F213F #9F8121
monochromatic
#0C2E3A #16566C #217E9F #2CA6D2 #5DBCDD

Accessibility & contrast

On white

4.62
#217E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#217E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217E9F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E9F#FFFFFF#000000##FFFFFF
##217E9F1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA1
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #217e9f;
/* rgb */ color: rgb(33, 126, 159);
/* oklch */ color: oklch(55.6% 0.097 227.0);
Tailwind
colors: {
  custom: {
    50: '#71a3bb',
    500: '#217e9f',
    950: '#000000',
  },
}
SCSS
$custom: #217e9f;
$custom-light: #71a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#217e9f",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 159
  },
  "hsl": {
    "h": 195.714,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55571,
    "c": 0.09681,
    "h": 227
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#217E9F
secondary
#C2755A
accent
#6C3FE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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