#217B9C#217B9C

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

Color values

HEX#217B9C
RGBrgb(33, 123, 156)
HSLhsl(196, 65%, 37%)
HSVhsv(196, 79%, 61%)
CMYKcmyk(78.8%, 21.2%, 0%, 38.8%)
CIE-LABlab(48.12, -14.16, -25.11)
CIE-LCHlch(48.12, 28.83, 240.58°)
OKLaboklab(54.67% -0.0642 -0.0705)
OKLCHoklch(54.67% 0.095 227.7)
XYZxyz(13.7084, 16.8879, 33.9832)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B9C #9C4221
analogous
#219C80 #217B9C #213D9C
triadic
#217B9C #9C217B #7B9C21
tetradic
#217B9C #80219C #9C4221 #3D9C21
square
#217B9C #80219C #9C4221 #3D9C21
split-complementary
#217B9C #9C213D #9C8021
monochromatic
#0C2B37 #165369 #217B9C #2CA3CF #5BBADC

Accessibility & contrast

On white

4.80
#217B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217B9C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B9C#FFFFFF#000000##FFFFFF
##217B9C1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799E
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217b9c;
/* rgb */ color: rgb(33, 123, 156);
/* oklch */ color: oklch(54.7% 0.095 227.7);
Tailwind
colors: {
  custom: {
    50: '#71a1b9',
    500: '#217b9c',
    950: '#000000',
  },
}
SCSS
$custom: #217b9c;
$custom-light: #71a1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#217b9c",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 156
  },
  "hsl": {
    "h": 196.098,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.09538,
    "h": 227.7
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#217B9C
secondary
#C17458
accent
#6D40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #217B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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