#217898#217898

#217898 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.093 H 227.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#217898
RGBrgb(33, 120, 152)
HSLhsl(196, 64%, 36%)
HSVhsv(196, 78%, 60%)
CMYKcmyk(78.3%, 21.1%, 0%, 40.4%)
CIE-LABlab(47.00, -13.89, -24.49)
CIE-LCHlch(47.00, 28.16, 240.44°)
OKLaboklab(53.72% -0.0627 -0.0688)
OKLCHoklch(53.72% 0.093 227.6)
XYZxyz(13.0088, 16.0217, 32.1066)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217898 #984121
analogous
#21987D #217898 #213D98
triadic
#217898 #982178 #789821
tetradic
#217898 #7D2198 #984121 #3D9821
square
#217898 #7D2198 #984121 #3D9821
split-complementary
#217898 #98213D #987D21
monochromatic
#0B2933 #165066 #217898 #2CA0CA #59B8DB

Accessibility & contrast

On white

4.99
#217898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#217898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217898
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217898#FFFFFF#000000##FFFFFF
##2178981.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217898;
/* rgb */ color: rgb(33, 120, 152);
/* oklch */ color: oklch(53.7% 0.093 227.6);
Tailwind
colors: {
  custom: {
    50: '#709fb6',
    500: '#217898',
    950: '#000000',
  },
}
SCSS
$custom: #217898;
$custom-light: #709fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#217898",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 196.134,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.0931,
    "h": 227.6
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#217898
secondary
#BF7256
accent
#6D40E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217898

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

Preview Lab → · Contrast checker → · Palette generator →

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