#217B9F#217B9F

#217B9F is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.098 H 230.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#217B9F
RGBrgb(33, 123, 159)
HSLhsl(197, 66%, 38%)
HSVhsv(197, 79%, 62%)
CMYKcmyk(79.2%, 22.6%, 0%, 37.6%)
CIE-LABlab(48.25, -13.09, -26.67)
CIE-LCHlch(48.25, 29.71, 243.86°)
OKLaboklab(54.82% -0.0631 -0.075)
OKLCHoklch(54.82% 0.098 230)
XYZxyz(13.9656, 16.9908, 35.3377)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B9F #9F4521
analogous
#219F84 #217B9F #213C9F
triadic
#217B9F #9F217B #7B9F21
tetradic
#217B9F #84219F #9F4521 #3C9F21
square
#217B9F #84219F #9F4521 #3C9F21
split-complementary
#217B9F #9F213C #9F8421
monochromatic
#0C2D3A #16546C #217B9F #2CA2D2 #5DB9DD

Accessibility & contrast

On white

4.77
#217B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#217B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B9F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B9F#FFFFFF#000000##FFFFFF
##217B9F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A1
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217b9f;
/* rgb */ color: rgb(33, 123, 159);
/* oklch */ color: oklch(54.8% 0.098 230.0);
Tailwind
colors: {
  custom: {
    50: '#71a1bb',
    500: '#217b9f',
    950: '#000000',
  },
}
SCSS
$custom: #217b9f;
$custom-light: #71a1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#217b9f",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 159
  },
  "hsl": {
    "h": 197.143,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.09801,
    "h": 230
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#217B9F
secondary
#C2785A
accent
#703FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #217B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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