#217F9B#217F9B

#217F9B is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.6% C 0.093 H 222.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#217F9B
RGBrgb(33, 127, 155)
HSLhsl(194, 65%, 37%)
HSVhsv(194, 79%, 61%)
CMYKcmyk(78.7%, 18.1%, 0%, 39.2%)
CIE-LABlab(49.33, -16.74, -22.65)
CIE-LCHlch(49.33, 28.16, 233.54°)
OKLaboklab(55.63% -0.0686 -0.0635)
OKLCHoklch(55.63% 0.093 222.8)
XYZxyz(14.1305, 17.8669, 33.7079)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F9B #9B3D21
analogous
#219B7A #217F9B #21429B
triadic
#217F9B #9B217F #7F9B21
tetradic
#217F9B #7A219B #9B3D21 #429B21
square
#217F9B #7A219B #9B3D21 #429B21
split-complementary
#217F9B #9B2142 #9B7A21
monochromatic
#0C2C36 #165669 #217F9B #2CA8CD #5ABEDC

Accessibility & contrast

On white

4.59
#217F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#217F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217F9B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F9B#FFFFFF#000000##FFFFFF
##217F9B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9C
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#008888
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #217f9b;
/* rgb */ color: rgb(33, 127, 155);
/* oklch */ color: oklch(55.6% 0.093 222.8);
Tailwind
colors: {
  custom: {
    50: '#71a4b8',
    500: '#217f9b',
    950: '#000000',
  },
}
SCSS
$custom: #217f9b;
$custom-light: #71a4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#217f9b",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 155
  },
  "hsl": {
    "h": 193.77,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.09344,
    "h": 222.8
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#217F9B
secondary
#C07058
accent
#6640E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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