#217B9E#217B9E

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

Color values

HEX#217B9E
RGBrgb(33, 123, 158)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 62%)
CMYKcmyk(79.1%, 22.2%, 0%, 38%)
CIE-LABlab(48.20, -13.45, -26.15)
CIE-LCHlch(48.20, 29.41, 242.79°)
OKLaboklab(54.77% -0.0634 -0.0735)
OKLCHoklch(54.77% 0.097 229.2)
XYZxyz(13.8792, 16.9562, 34.8825)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B9E #9E4421
analogous
#219E83 #217B9E #213D9E
triadic
#217B9E #9E217B #7B9E21
tetradic
#217B9E #83219E #9E4421 #3D9E21
square
#217B9E #83219E #9E4421 #3D9E21
split-complementary
#217B9E #9E213D #9E8321
monochromatic
#0C2C39 #16546B #217B9E #2CA2D1 #5CB9DD

Accessibility & contrast

On white

4.78
#217B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#217B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B9E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B9E#FFFFFF#000000##FFFFFF
##217B9E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6979A0
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217b9e;
/* rgb */ color: rgb(33, 123, 158);
/* oklch */ color: oklch(54.8% 0.097 229.2);
Tailwind
colors: {
  custom: {
    50: '#71a1ba',
    500: '#217b9e',
    950: '#000000',
  },
}
SCSS
$custom: #217b9e;
$custom-light: #71a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217b9e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 158
  },
  "hsl": {
    "h": 196.8,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.09711,
    "h": 229.2
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#217B9E
secondary
#C17759
accent
#6F3FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #217B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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