#217EA8#217EA8

#217EA8 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.105 H 233.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#217EA8
RGBrgb(33, 126, 168)
HSLhsl(199, 67%, 39%)
HSVhsv(199, 80%, 66%)
CMYKcmyk(80.4%, 25%, 0%, 34.1%)
CIE-LABlab(49.58, -11.56, -29.84)
CIE-LCHlch(49.58, 32.00, 248.82°)
OKLaboklab(56.02% -0.0627 -0.0842)
OKLCHoklch(56.02% 0.105 233.3)
XYZxyz(15.1531, 18.0703, 39.7275)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217EA8 #A84B21
analogous
#21A88F #217EA8 #213AA8
triadic
#217EA8 #A8217E #7EA821
tetradic
#217EA8 #8F21A8 #A84B21 #3AA821
square
#217EA8 #8F21A8 #A84B21 #3AA821
split-complementary
#217EA8 #A8213A #A88F21
monochromatic
#0D3142 #175875 #217EA8 #30A3D6 #63B9E0

Accessibility & contrast

On white

4.55
#217EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#217EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217EA8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217EA8#FFFFFF#000000##000000
##217EA81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #217ea8;
/* rgb */ color: rgb(33, 126, 168);
/* oklch */ color: oklch(56.0% 0.105 233.3);
Tailwind
colors: {
  custom: {
    50: '#73a3c2',
    500: '#217ea8',
    950: '#000000',
  },
}
SCSS
$custom: #217ea8;
$custom-light: #73a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#217ea8",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 198.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.10494,
    "h": 233.3
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#217EA8
secondary
#C57F5F
accent
#733EEA
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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