#217A9C#217A9C

#217A9C is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.096 H 228.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#217A9C
RGBrgb(33, 122, 156)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(78.8%, 21.8%, 0%, 38.8%)
CIE-LABlab(47.80, -13.60, -25.60)
CIE-LCHlch(47.80, 28.99, 242.03°)
OKLaboklab(54.42% -0.0632 -0.072)
OKLCHoklch(54.42% 0.096 228.7)
XYZxyz(13.5850, 16.6410, 33.9421)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A9C #9C4321
analogous
#219C80 #217A9C #213D9C
triadic
#217A9C #9C217A #7A9C21
tetradic
#217A9C #80219C #9C4321 #3D9C21
square
#217A9C #80219C #9C4321 #3D9C21
split-complementary
#217A9C #9C213D #9C8021
monochromatic
#0C2B37 #165269 #217A9C #2CA2CF #5BB9DC

Accessibility & contrast

On white

4.85
#217A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#217A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A9C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A9C#FFFFFF#000000##FFFFFF
##217A9C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217a9c;
/* rgb */ color: rgb(33, 122, 156);
/* oklch */ color: oklch(54.4% 0.096 228.7);
Tailwind
colors: {
  custom: {
    50: '#70a0b9',
    500: '#217a9c',
    950: '#000000',
  },
}
SCSS
$custom: #217a9c;
$custom-light: #70a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#217a9c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 196.585,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.09577,
    "h": 228.7
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#217A9C
secondary
#C17558
accent
#6E40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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