#217897#217897

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

Color values

HEX#217897
RGBrgb(33, 120, 151)
HSLhsl(196, 64%, 36%)
HSVhsv(196, 78%, 59%)
CMYKcmyk(78.1%, 20.5%, 0%, 40.8%)
CIE-LABlab(46.96, -14.25, -23.97)
CIE-LCHlch(46.96, 27.88, 239.28°)
OKLaboklab(53.68% -0.0631 -0.0673)
OKLCHoklch(53.68% 0.092 226.8)
XYZxyz(12.9273, 15.9891, 31.6770)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217897 #974021
analogous
#21977B #217897 #213D97
triadic
#217897 #972178 #789721
tetradic
#217897 #7B2197 #974021 #3D9721
square
#217897 #7B2197 #974021 #3D9721
split-complementary
#217897 #97213D #977B21
monochromatic
#0B2833 #165065 #217897 #2CA0C9 #58B8DA

Accessibility & contrast

On white

5.00
#217897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217897
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217897#FFFFFF#000000##FFFFFF
##2178971.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677699
Deuteranopia (green-blind)
#586A97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217897;
/* rgb */ color: rgb(33, 120, 151);
/* oklch */ color: oklch(53.7% 0.092 226.8);
Tailwind
colors: {
  custom: {
    50: '#6f9fb5',
    500: '#217897',
    950: '#000000',
  },
}
SCSS
$custom: #217897;
$custom-light: #6f9fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#217897",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 195.763,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.09226,
    "h": 226.8
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#217897
secondary
#BE7155
accent
#6C41E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217897

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

Preview Lab → · Contrast checker → · Palette generator →

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