#217797#217797

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

Color values

HEX#217797
RGBrgb(33, 119, 151)
HSLhsl(196, 64%, 36%)
HSVhsv(196, 78%, 59%)
CMYKcmyk(78.1%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.64, -13.68, -24.46)
CIE-LCHlch(46.64, 28.03, 240.78°)
OKLaboklab(53.42% -0.0621 -0.0687)
OKLCHoklch(53.42% 0.093 227.9)
XYZxyz(12.8076, 15.7498, 31.6372)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217797 #974121
analogous
#21977C #217797 #213C97
triadic
#217797 #972177 #779721
tetradic
#217797 #7C2197 #974121 #3C9721
square
#217797 #7C2197 #974121 #3C9721
split-complementary
#217797 #97213C #977C21
monochromatic
#0B2833 #164F65 #217797 #2C9FC9 #58B7DA

Accessibility & contrast

On white

5.06
#217797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217797
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217797#FFFFFF#000000##FFFFFF
##2177971.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217797;
/* rgb */ color: rgb(33, 119, 151);
/* oklch */ color: oklch(53.4% 0.093 227.9);
Tailwind
colors: {
  custom: {
    50: '#6f9eb5',
    500: '#217797',
    950: '#000000',
  },
}
SCSS
$custom: #217797;
$custom-light: #6f9eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#217797",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 196.271,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.09261,
    "h": 227.9
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#217797
secondary
#BE7255
accent
#6E41E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217797

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

Preview Lab → · Contrast checker → · Palette generator →

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