#217A9A#217A9A

#217A9A is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.3% C 0.094 H 227.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#217A9A
RGBrgb(33, 122, 154)
HSLhsl(196, 65%, 37%)
HSVhsv(196, 79%, 60%)
CMYKcmyk(78.6%, 20.8%, 0%, 39.6%)
CIE-LABlab(47.72, -14.31, -24.56)
CIE-LCHlch(47.72, 28.42, 239.78°)
OKLaboklab(54.33% -0.064 -0.069)
OKLCHoklch(54.33% 0.094 227.2)
XYZxyz(13.4171, 16.5739, 33.0575)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A9A #9A4121
analogous
#219A7E #217A9A #213E9A
triadic
#217A9A #9A217A #7A9A21
tetradic
#217A9A #7E219A #9A4121 #3E9A21
square
#217A9A #7E219A #9A4121 #3E9A21
split-complementary
#217A9A #9A213E #9A7E21
monochromatic
#0B2A35 #165268 #217A9A #2CA2CC #5AB9DC

Accessibility & contrast

On white

4.87
#217A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#217A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A9A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A9A#FFFFFF#000000##FFFFFF
##217A9A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69789C
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217a9a;
/* rgb */ color: rgb(33, 122, 154);
/* oklch */ color: oklch(54.3% 0.094 227.2);
Tailwind
colors: {
  custom: {
    50: '#70a0b8',
    500: '#217a9a',
    950: '#000000',
  },
}
SCSS
$custom: #217a9a;
$custom-light: #70a0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#217a9a",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 154
  },
  "hsl": {
    "h": 195.868,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.09406,
    "h": 227.2
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#217A9A
secondary
#C07357
accent
#6C40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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