#217D9B#217D9B

#217D9B is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.1% C 0.094 H 224.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#217D9B
RGBrgb(33, 125, 155)
HSLhsl(195, 65%, 37%)
HSVhsv(195, 79%, 61%)
CMYKcmyk(78.7%, 19.4%, 0%, 39.2%)
CIE-LABlab(48.70, -15.63, -23.62)
CIE-LCHlch(48.70, 28.33, 236.51°)
OKLaboklab(55.13% -0.0666 -0.0662)
OKLCHoklch(55.13% 0.094 224.9)
XYZxyz(13.8748, 17.3554, 33.6227)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D9B #9B3F21
analogous
#219B7C #217D9B #21409B
triadic
#217D9B #9B217D #7D9B21
tetradic
#217D9B #7C219B #9B3F21 #409B21
square
#217D9B #7C219B #9B3F21 #409B21
split-complementary
#217D9B #9B2140 #9B7C21
monochromatic
#0C2C36 #165469 #217D9B #2CA6CD #5ABCDC

Accessibility & contrast

On white

4.70
#217D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#217D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D9B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D9B#FFFFFF#000000##FFFFFF
##217D9B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9D
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217d9b;
/* rgb */ color: rgb(33, 125, 155);
/* oklch */ color: oklch(55.1% 0.094 224.9);
Tailwind
colors: {
  custom: {
    50: '#71a2b8',
    500: '#217d9b',
    950: '#000000',
  },
}
SCSS
$custom: #217d9b;
$custom-light: #71a2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#217d9b",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 155
  },
  "hsl": {
    "h": 194.754,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.09393,
    "h": 224.9
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#217D9B
secondary
#C07158
accent
#6940E8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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