#217A9D#217A9D

#217A9D is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.097 H 229.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#217A9D
RGBrgb(33, 122, 157)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 62%)
CMYKcmyk(79%, 22.3%, 0%, 38.4%)
CIE-LABlab(47.85, -13.24, -26.12)
CIE-LCHlch(47.85, 29.28, 243.12°)
OKLaboklab(54.47% -0.0628 -0.0734)
OKLCHoklch(54.47% 0.097 229.5)
XYZxyz(13.6700, 16.6751, 34.3899)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A9D #9D4421
analogous
#219D82 #217A9D #213C9D
triadic
#217A9D #9D217A #7A9D21
tetradic
#217A9D #82219D #9D4421 #3C9D21
square
#217A9D #82219D #9D4421 #3C9D21
split-complementary
#217A9D #9D213C #9D8221
monochromatic
#0C2B38 #16536A #217A9D #2CA1D0 #5CB8DD

Accessibility & contrast

On white

4.84
#217A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#217A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A9D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A9D#FFFFFF#000000##FFFFFF
##217A9D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789F
Deuteranopia (green-blind)
#576C9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217a9d;
/* rgb */ color: rgb(33, 122, 157);
/* oklch */ color: oklch(54.5% 0.097 229.5);
Tailwind
colors: {
  custom: {
    50: '#71a0ba',
    500: '#217a9d',
    950: '#000000',
  },
}
SCSS
$custom: #217a9d;
$custom-light: #71a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217a9d",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 157
  },
  "hsl": {
    "h": 196.935,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.09665,
    "h": 229.5
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#217A9D
secondary
#C17659
accent
#6F40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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