#217A9E#217A9E

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

Color values

HEX#217A9E
RGBrgb(33, 122, 158)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 62%)
CMYKcmyk(79.1%, 22.8%, 0%, 38%)
CIE-LABlab(47.89, -12.88, -26.64)
CIE-LCHlch(47.89, 29.59, 244.19°)
OKLaboklab(54.52% -0.0624 -0.0749)
OKLCHoklch(54.52% 0.098 230.2)
XYZxyz(13.7558, 16.7093, 34.8414)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A9E #9E4521
analogous
#219E84 #217A9E #213C9E
triadic
#217A9E #9E217A #7A9E21
tetradic
#217A9E #84219E #9E4521 #3C9E21
square
#217A9E #84219E #9E4521 #3C9E21
split-complementary
#217A9E #9E213C #9E8421
monochromatic
#0C2C39 #16536B #217A9E #2CA1D1 #5CB8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A9E#FFFFFF#000000##FFFFFF
##217A9E1.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)
#6878A0
Deuteranopia (green-blind)
#576C9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217a9e;
/* rgb */ color: rgb(33, 122, 158);
/* oklch */ color: oklch(54.5% 0.098 230.2);
Tailwind
colors: {
  custom: {
    50: '#71a0ba',
    500: '#217a9e',
    950: '#000000',
  },
}
SCSS
$custom: #217a9e;
$custom-light: #71a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217a9e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 197.28,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.09754,
    "h": 230.2
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#217A9E
secondary
#C17759
accent
#703FE8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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