#217A98#217A98

#217A98 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.2% C 0.092 H 225.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#217A98
RGBrgb(33, 122, 152)
HSLhsl(195, 64%, 36%)
HSVhsv(195, 78%, 60%)
CMYKcmyk(78.3%, 19.7%, 0%, 40.4%)
CIE-LABlab(47.63, -15.01, -23.52)
CIE-LCHlch(47.63, 27.90, 237.44°)
OKLaboklab(54.23% -0.0647 -0.066)
OKLCHoklch(54.23% 0.092 225.5)
XYZxyz(13.2519, 16.5078, 32.1876)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A98 #983F21
analogous
#21987B #217A98 #213F98
triadic
#217A98 #98217A #7A9821
tetradic
#217A98 #7B2198 #983F21 #3F9821
square
#217A98 #7B2198 #983F21 #3F9821
split-complementary
#217A98 #98213F #987B21
monochromatic
#0B2933 #165266 #217A98 #2CA2CA #59BADB

Accessibility & contrast

On white

4.88
#217A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#217A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A98
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A98#FFFFFF#000000##FFFFFF
##217A981.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A779A
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217a98;
/* rgb */ color: rgb(33, 122, 152);
/* oklch */ color: oklch(54.2% 0.092 225.5);
Tailwind
colors: {
  custom: {
    50: '#70a0b6',
    500: '#217a98',
    950: '#000000',
  },
}
SCSS
$custom: #217a98;
$custom-light: #70a0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#217a98",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 195.126,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.09243,
    "h": 225.5
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#217A98
secondary
#BF7056
accent
#6B40E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217A98

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

Preview Lab → · Contrast checker → · Palette generator →

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