#217798#217798

#217798 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.093 H 228.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217798
RGBrgb(33, 119, 152)
HSLhsl(197, 64%, 36%)
HSVhsv(197, 78%, 60%)
CMYKcmyk(78.3%, 21.7%, 0%, 40.4%)
CIE-LABlab(46.69, -13.32, -24.98)
CIE-LCHlch(46.69, 28.31, 241.93°)
OKLaboklab(53.47% -0.0617 -0.0702)
OKLCHoklch(53.47% 0.093 228.7)
XYZxyz(12.8892, 15.7824, 32.0667)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217798 #984221
analogous
#21987E #217798 #213C98
triadic
#217798 #982177 #779821
tetradic
#217798 #7E2198 #984221 #3C9821
square
#217798 #7E2198 #984221 #3C9821
split-complementary
#217798 #98213C #987E21
monochromatic
#0B2833 #165066 #217798 #2C9ECA #59B7DB

Accessibility & contrast

On white

5.05
#217798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#217798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217798
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217798#FFFFFF#000000##FFFFFF
##2177981.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217798;
/* rgb */ color: rgb(33, 119, 152);
/* oklch */ color: oklch(53.5% 0.093 228.7);
Tailwind
colors: {
  custom: {
    50: '#709eb6',
    500: '#217798',
    950: '#000000',
  },
}
SCSS
$custom: #217798;
$custom-light: #709eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#217798",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 196.639,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.09348,
    "h": 228.7
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#217798
secondary
#BF7356
accent
#6F40E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217798

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

Preview Lab → · Contrast checker → · Palette generator →

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