#217899#217899

#217899 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.094 H 228.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#217899
RGBrgb(33, 120, 153)
HSLhsl(197, 65%, 36%)
HSVhsv(197, 78%, 60%)
CMYKcmyk(78.4%, 21.6%, 0%, 40%)
CIE-LABlab(47.05, -13.53, -25.02)
CIE-LCHlch(47.05, 28.44, 241.58°)
OKLaboklab(53.77% -0.0623 -0.0703)
OKLCHoklch(53.77% 0.094 228.4)
XYZxyz(13.0911, 16.0546, 32.5397)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217899 #994221
analogous
#21997E #217899 #213C99
triadic
#217899 #992178 #789921
tetradic
#217899 #7E2199 #994221 #3C9921
square
#217899 #7E2199 #994221 #3C9921
split-complementary
#217899 #99213C #997E21
monochromatic
#0B2934 #165167 #217899 #2C9FCB #59B7DB

Accessibility & contrast

On white

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

On black

4.21
#217899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217899#FFFFFF#000000##FFFFFF
##2178991.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217899;
/* rgb */ color: rgb(33, 120, 153);
/* oklch */ color: oklch(53.8% 0.094 228.4);
Tailwind
colors: {
  custom: {
    50: '#709fb7',
    500: '#217899',
    950: '#000000',
  },
}
SCSS
$custom: #217899;
$custom-light: #709fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#217899",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 196.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.09396,
    "h": 228.4
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217899

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

Preview Lab → · Contrast checker → · Palette generator →

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