#217F98#217F98

#217F98 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.5% C 0.091 H 220.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#217F98
RGBrgb(33, 127, 152)
HSLhsl(193, 64%, 36%)
HSVhsv(193, 78%, 60%)
CMYKcmyk(78.3%, 16.4%, 0%, 40.4%)
CIE-LABlab(49.21, -17.78, -21.08)
CIE-LCHlch(49.21, 27.58, 229.86°)
OKLaboklab(55.5% -0.0698 -0.059)
OKLCHoklch(55.5% 0.091 220.2)
XYZxyz(13.8817, 17.7674, 32.3975)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F98 #983A21
analogous
#219876 #217F98 #214498
triadic
#217F98 #98217F #7F9821
tetradic
#217F98 #762198 #983A21 #449821
square
#217F98 #762198 #983A21 #449821
split-complementary
#217F98 #982144 #987621
monochromatic
#0B2B33 #165566 #217F98 #2CA9CA #59BFDB

Accessibility & contrast

On white

4.61
#217F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#217F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217F98
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F98#FFFFFF#000000##FFFFFF
##217F981.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707B99
Deuteranopia (green-blind)
#607098
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #217f98;
/* rgb */ color: rgb(33, 127, 152);
/* oklch */ color: oklch(55.5% 0.091 220.2);
Tailwind
colors: {
  custom: {
    50: '#70a4b6',
    500: '#217f98',
    950: '#000000',
  },
}
SCSS
$custom: #217f98;
$custom-light: #70a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#217f98",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 152
  },
  "hsl": {
    "h": 192.605,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55496,
    "c": 0.09137,
    "h": 220.2
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#217F98
secondary
#BF6C56
accent
#6440E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217F98

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

Preview Lab → · Contrast checker → · Palette generator →

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