#217D98#217D98

#217D98 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.0% C 0.092 H 222.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#217D98
RGBrgb(33, 125, 152)
HSLhsl(194, 64%, 36%)
HSVhsv(194, 78%, 60%)
CMYKcmyk(78.3%, 17.8%, 0%, 40.4%)
CIE-LABlab(48.58, -16.68, -22.06)
CIE-LCHlch(48.58, 27.65, 232.90°)
OKLaboklab(54.99% -0.0678 -0.0618)
OKLCHoklch(54.99% 0.092 222.3)
XYZxyz(13.6259, 17.2559, 32.3123)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D98 #983C21
analogous
#219878 #217D98 #214298
triadic
#217D98 #98217D #7D9821
tetradic
#217D98 #782198 #983C21 #429821
square
#217D98 #782198 #983C21 #429821
split-complementary
#217D98 #982142 #987821
monochromatic
#0B2A33 #165466 #217D98 #2CA6CA #59BDDB

Accessibility & contrast

On white

4.72
#217D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#217D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D98
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D98#FFFFFF#000000##FFFFFF
##217D981.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A99
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217d98;
/* rgb */ color: rgb(33, 125, 152);
/* oklch */ color: oklch(55.0% 0.092 222.3);
Tailwind
colors: {
  custom: {
    50: '#70a2b6',
    500: '#217d98',
    950: '#000000',
  },
}
SCSS
$custom: #217d98;
$custom-light: #70a2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#217d98",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 152
  },
  "hsl": {
    "h": 193.613,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.0917,
    "h": 222.3
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#217D98
secondary
#BF6E56
accent
#6640E7
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #217D98

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

Preview Lab → · Contrast checker → · Palette generator →

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