#217A9F#217A9F

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

Color values

HEX#217A9F
RGBrgb(33, 122, 159)
HSLhsl(198, 66%, 38%)
HSVhsv(198, 79%, 62%)
CMYKcmyk(79.2%, 23.3%, 0%, 37.6%)
CIE-LABlab(47.94, -12.52, -27.16)
CIE-LCHlch(47.94, 29.90, 245.24°)
OKLaboklab(54.57% -0.0621 -0.0764)
OKLCHoklch(54.57% 0.098 230.9)
XYZxyz(13.8422, 16.7439, 35.2965)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A9F #9F4621
analogous
#219F85 #217A9F #213B9F
triadic
#217A9F #9F217A #7A9F21
tetradic
#217A9F #85219F #9F4621 #3B9F21
square
#217A9F #85219F #9F4621 #3B9F21
split-complementary
#217A9F #9F213B #9F8521
monochromatic
#0C2C3A #16536C #217A9F #2CA1D2 #5DB8DD

Accessibility & contrast

On white

4.83
#217A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#217A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A9F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A9F#FFFFFF#000000##FFFFFF
##217A9F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#566D9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217a9f;
/* rgb */ color: rgb(33, 122, 159);
/* oklch */ color: oklch(54.6% 0.098 230.9);
Tailwind
colors: {
  custom: {
    50: '#71a0bb',
    500: '#217a9f',
    950: '#000000',
  },
}
SCSS
$custom: #217a9f;
$custom-light: #71a0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#217a9f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 197.619,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.09846,
    "h": 230.9
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#217A9F
secondary
#C2785A
accent
#713FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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