#217F9A#217F9A

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

Color values

HEX#217F9A
RGBrgb(33, 127, 154)
HSLhsl(193, 65%, 37%)
HSVhsv(193, 79%, 60%)
CMYKcmyk(78.6%, 17.5%, 0%, 39.6%)
CIE-LABlab(49.29, -17.08, -22.13)
CIE-LCHlch(49.29, 27.96, 232.33°)
OKLaboklab(55.59% -0.069 -0.062)
OKLCHoklch(55.59% 0.093 221.9)
XYZxyz(14.0469, 17.8335, 33.2675)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F9A #9A3C21
analogous
#219A79 #217F9A #21439A
triadic
#217F9A #9A217F #7F9A21
tetradic
#217F9A #79219A #9A3C21 #439A21
square
#217F9A #79219A #9A3C21 #439A21
split-complementary
#217F9A #9A2143 #9A7921
monochromatic
#0B2C35 #165568 #217F9A #2CA9CC #5ABFDC

Accessibility & contrast

On white

4.60
#217F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217F9A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F9A#FFFFFF#000000##FFFFFF
##217F9A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9B
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #217f9a;
/* rgb */ color: rgb(33, 127, 154);
/* oklch */ color: oklch(55.6% 0.093 221.9);
Tailwind
colors: {
  custom: {
    50: '#71a4b7',
    500: '#217f9a',
    950: '#000000',
  },
}
SCSS
$custom: #217f9a;
$custom-light: #71a4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#217f9a",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 154
  },
  "hsl": {
    "h": 193.388,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.09273,
    "h": 221.9
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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