#217998#217998

#217998 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.093 H 226.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#217998
RGBrgb(33, 121, 152)
HSLhsl(196, 64%, 36%)
HSVhsv(196, 78%, 60%)
CMYKcmyk(78.3%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.32, -14.45, -24.01)
CIE-LCHlch(47.32, 28.02, 238.95°)
OKLaboklab(53.98% -0.0637 -0.0674)
OKLCHoklch(53.98% 0.093 226.6)
XYZxyz(13.1297, 16.2635, 32.1469)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217998 #984021
analogous
#21987C #217998 #213E98
triadic
#217998 #982179 #799821
tetradic
#217998 #7C2198 #984021 #3E9821
square
#217998 #7C2198 #984021 #3E9821
split-complementary
#217998 #98213E #987C21
monochromatic
#0B2933 #165166 #217998 #2CA1CA #59B9DB

Accessibility & contrast

On white

4.94
#217998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#217998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217998
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217998#FFFFFF#000000##FFFFFF
##2179981.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217998;
/* rgb */ color: rgb(33, 121, 152);
/* oklch */ color: oklch(54.0% 0.093 226.6);
Tailwind
colors: {
  custom: {
    50: '#709fb6',
    500: '#217998',
    950: '#000000',
  },
}
SCSS
$custom: #217998;
$custom-light: #709fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#217998",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 195.63,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53976,
    "c": 0.09275,
    "h": 226.6
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#217998
secondary
#BF7156
accent
#6C40E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217998

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

Preview Lab → · Contrast checker → · Palette generator →

#217998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva