#217AA8#217AA8

#217AA8 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.0% C 0.107 H 236.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#217AA8
RGBrgb(33, 122, 168)
HSLhsl(200, 67%, 39%)
HSVhsv(200, 80%, 66%)
CMYKcmyk(80.4%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.35, -9.26, -31.77)
CIE-LCHlch(48.35, 33.09, 253.76°)
OKLaboklab(55.03% -0.0589 -0.0898)
OKLCHoklch(55.03% 0.107 236.8)
XYZxyz(14.6518, 17.0678, 39.5604)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217AA8 #A84F21
analogous
#21A892 #217AA8 #2137A8
triadic
#217AA8 #A8217A #7AA821
tetradic
#217AA8 #9221A8 #A84F21 #37A821
square
#217AA8 #9221A8 #A84F21 #37A821
split-complementary
#217AA8 #A82137 #A89221
monochromatic
#0D3042 #175575 #217AA8 #309ED6 #63B6E0

Accessibility & contrast

On white

4.76
#217AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#217AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217AA8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217AA8#FFFFFF#000000##FFFFFF
##217AA81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217aa8;
/* rgb */ color: rgb(33, 122, 168);
/* oklch */ color: oklch(55.0% 0.107 236.8);
Tailwind
colors: {
  custom: {
    50: '#73a0c2',
    500: '#217aa8',
    950: '#000000',
  },
}
SCSS
$custom: #217aa8;
$custom-light: #73a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#217aa8",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 200.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.10736,
    "h": 236.8
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#217AA8
secondary
#C5825F
accent
#783EEA
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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