#217F9D#217F9D

#217F9D is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.095 H 224.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#217F9D
RGBrgb(33, 127, 157)
HSLhsl(195, 65%, 37%)
HSVhsv(195, 79%, 62%)
CMYKcmyk(79%, 19.1%, 0%, 38.4%)
CIE-LABlab(49.42, -16.04, -23.69)
CIE-LCHlch(49.42, 28.61, 235.90°)
OKLaboklab(55.73% -0.0678 -0.0664)
OKLCHoklch(55.73% 0.095 224.4)
XYZxyz(14.2998, 17.9347, 34.5998)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F9D #9D3F21
analogous
#219D7D #217F9D #21419D
triadic
#217F9D #9D217F #7F9D21
tetradic
#217F9D #7D219D #9D3F21 #419D21
square
#217F9D #7D219D #9D3F21 #419D21
split-complementary
#217F9D #9D2141 #9D7D21
monochromatic
#0C2D38 #16566A #217F9D #2CA8D0 #5CBDDD

Accessibility & contrast

On white

4.58
#217F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#217F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217F9D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F9D#FFFFFF#000000##000000
##217F9D1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #217f9d;
/* rgb */ color: rgb(33, 127, 157);
/* oklch */ color: oklch(55.7% 0.095 224.4);
Tailwind
colors: {
  custom: {
    50: '#71a4ba',
    500: '#217f9d',
    950: '#000000',
  },
}
SCSS
$custom: #217f9d;
$custom-light: #71a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217f9d",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 194.516,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.09492,
    "h": 224.4
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#217F9D
secondary
#C17259
accent
#6840E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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