#217F9F#217F9F

#217F9F is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.096 H 226.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#217F9F
RGBrgb(33, 127, 159)
HSLhsl(195, 66%, 38%)
HSVhsv(195, 79%, 62%)
CMYKcmyk(79.2%, 20.1%, 0%, 37.6%)
CIE-LABlab(49.50, -15.34, -24.73)
CIE-LCHlch(49.50, 29.10, 238.20°)
OKLaboklab(55.82% -0.067 -0.0694)
OKLCHoklch(55.82% 0.096 226)
XYZxyz(14.4720, 18.0035, 35.5065)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F9F #9F4121
analogous
#219F80 #217F9F #21409F
triadic
#217F9F #9F217F #7F9F21
tetradic
#217F9F #80219F #9F4121 #409F21
square
#217F9F #80219F #9F4121 #409F21
split-complementary
#217F9F #9F2140 #9F8021
monochromatic
#0C2E3A #16576C #217F9F #2CA7D2 #5DBDDD

Accessibility & contrast

On white

4.56
#217F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#217F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217F9F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F9F#FFFFFF#000000##000000
##217F9F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7CA1
Deuteranopia (green-blind)
#5D709F
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #217f9f;
/* rgb */ color: rgb(33, 127, 159);
/* oklch */ color: oklch(55.8% 0.096 226.0);
Tailwind
colors: {
  custom: {
    50: '#71a4bb',
    500: '#217f9f',
    950: '#000000',
  },
}
SCSS
$custom: #217f9f;
$custom-light: #71a4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#217f9f",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 195.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.09648,
    "h": 226
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#217F9F
secondary
#C2745A
accent
#6A3FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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