#217E9D#217E9D

#217E9D is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.5% C 0.095 H 225.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#217E9D
RGBrgb(33, 126, 157)
HSLhsl(195, 65%, 37%)
HSVhsv(195, 79%, 62%)
CMYKcmyk(79%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.10, -15.48, -24.18)
CIE-LCHlch(49.10, 28.71, 237.36°)
OKLaboklab(55.47% -0.0668 -0.0678)
OKLCHoklch(55.47% 0.095 225.4)
XYZxyz(14.1713, 17.6776, 34.5570)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E9D #9D4021
analogous
#219D7E #217E9D #21409D
triadic
#217E9D #9D217E #7E9D21
tetradic
#217E9D #7E219D #9D4021 #409D21
square
#217E9D #7E219D #9D4021 #409D21
split-complementary
#217E9D #9D2140 #9D7E21
monochromatic
#0C2D38 #16556A #217E9D #2CA7D0 #5CBCDD

Accessibility & contrast

On white

4.63
#217E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#217E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217E9D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E9D#FFFFFF#000000##FFFFFF
##217E9D1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217e9d;
/* rgb */ color: rgb(33, 126, 157);
/* oklch */ color: oklch(55.5% 0.095 225.4);
Tailwind
colors: {
  custom: {
    50: '#71a3ba',
    500: '#217e9d',
    950: '#000000',
  },
}
SCSS
$custom: #217e9d;
$custom-light: #71a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#217e9d",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 195,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.0952,
    "h": 225.4
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#217E9D
secondary
#C17359
accent
#6A40E8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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