#217988#217988

#217988 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.083 H 211.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217988
RGBrgb(33, 121, 136)
HSLhsl(189, 61%, 33%)
HSVhsv(189, 76%, 53%)
CMYKcmyk(75.7%, 11%, 0%, 46.7%)
CIE-LABlab(46.68, -19.98, -15.55)
CIE-LCHlch(46.68, 25.31, 217.89°)
OKLaboklab(53.25% -0.0703 -0.0433)
OKLCHoklch(53.25% 0.083 211.6)
XYZxyz(11.9066, 15.7742, 25.7050)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217988 #883021
analogous
#218863 #217988 #214588
triadic
#217988 #882179 #798821
tetradic
#217988 #632188 #883021 #458821
square
#217988 #632188 #883021 #458821
split-complementary
#217988 #882145 #886321
monochromatic
#092125 #154D57 #217988 #2DA5B9 #4FC1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217988#FFFFFF#000000##FFFFFF
##2179881.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)
#6D7589
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217988;
/* rgb */ color: rgb(33, 121, 136);
/* oklch */ color: oklch(53.2% 0.083 211.6);
Tailwind
colors: {
  custom: {
    50: '#6da0aa',
    500: '#217988',
    950: '#000000',
  },
}
SCSS
$custom: #217988;
$custom-light: #6da0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#217988",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 136
  },
  "hsl": {
    "h": 188.738,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.08259,
    "h": 211.6
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#217988
secondary
#B85D4D
accent
#5B44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #217988

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

Preview Lab → · Contrast checker → · Palette generator →

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