#217887#217887

#217887 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.082 H 211.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#217887
RGBrgb(33, 120, 135)
HSLhsl(189, 61%, 33%)
HSVhsv(189, 76%, 53%)
CMYKcmyk(75.6%, 11.1%, 0%, 47.1%)
CIE-LABlab(46.32, -19.78, -15.50)
CIE-LCHlch(46.32, 25.13, 218.09°)
OKLaboklab(52.95% -0.0697 -0.0432)
OKLCHoklch(52.95% 0.082 211.8)
XYZxyz(11.7150, 15.5042, 25.2922)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217887 #873021
analogous
#218763 #217887 #214587
triadic
#217887 #872178 #788721
tetradic
#217887 #632187 #873021 #458721
square
#217887 #632187 #873021 #458721
split-complementary
#217887 #872145 #876321
monochromatic
#092125 #154C56 #217887 #2DA4B8 #4FC0D4

Accessibility & contrast

On white

5.12
#217887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#217887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217887
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217887#FFFFFF#000000##FFFFFF
##2178871.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217887;
/* rgb */ color: rgb(33, 120, 135);
/* oklch */ color: oklch(52.9% 0.082 211.8);
Tailwind
colors: {
  custom: {
    50: '#6d9faa',
    500: '#217887',
    950: '#000000',
  },
}
SCSS
$custom: #217887;
$custom-light: #6d9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#217887",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 135
  },
  "hsl": {
    "h": 188.824,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.082,
    "h": 211.8
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217887

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

Preview Lab → · Contrast checker → · Palette generator →

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