#217B9D#217B9D

#217B9D is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.7% C 0.096 H 228.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#217B9D
RGBrgb(33, 123, 157)
HSLhsl(196, 65%, 37%)
HSVhsv(196, 79%, 62%)
CMYKcmyk(79%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.16, -13.80, -25.63)
CIE-LCHlch(48.16, 29.11, 241.70°)
OKLaboklab(54.72% -0.0638 -0.072)
OKLCHoklch(54.72% 0.096 228.5)
XYZxyz(13.7935, 16.9219, 34.4310)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B9D #9D4321
analogous
#219D81 #217B9D #213D9D
triadic
#217B9D #9D217B #7B9D21
tetradic
#217B9D #81219D #9D4321 #3D9D21
square
#217B9D #81219D #9D4321 #3D9D21
split-complementary
#217B9D #9D213D #9D8121
monochromatic
#0C2C38 #16536A #217B9D #2CA3D0 #5CB9DD

Accessibility & contrast

On white

4.79
#217B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#217B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B9D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B9D#FFFFFF#000000##FFFFFF
##217B9D1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217b9d;
/* rgb */ color: rgb(33, 123, 157);
/* oklch */ color: oklch(54.7% 0.096 228.5);
Tailwind
colors: {
  custom: {
    50: '#71a1ba',
    500: '#217b9d',
    950: '#000000',
  },
}
SCSS
$custom: #217b9d;
$custom-light: #71a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217b9d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 196.452,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.09624,
    "h": 228.5
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#217B9D
secondary
#C17559
accent
#6E40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #217B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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