#217B8E#217B8E

#217B8E is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.0% C 0.086 H 215.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#217B8E
RGBrgb(33, 123, 142)
HSLhsl(190, 62%, 34%)
HSVhsv(190, 77%, 56%)
CMYKcmyk(76.8%, 13.4%, 0%, 44.3%)
CIE-LABlab(47.55, -19.03, -17.76)
CIE-LCHlch(47.55, 26.03, 223.03°)
OKLaboklab(54.03% -0.0698 -0.0496)
OKLCHoklch(54.03% 0.086 215.4)
XYZxyz(12.5906, 16.4407, 28.0957)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B8E #8E3421
analogous
#218E6B #217B8E #21448E
triadic
#217B8E #8E217B #7B8E21
tetradic
#217B8E #6B218E #8E3421 #448E21
square
#217B8E #6B218E #8E3421 #448E21
split-complementary
#217B8E #8E2144 #8E6B21
monochromatic
#0A252B #15505C #217B8E #2DA6C0 #52C0D7

Accessibility & contrast

On white

4.90
#217B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#217B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B8E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B8E#FFFFFF#000000##FFFFFF
##217B8E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E778F
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #217b8e;
/* rgb */ color: rgb(33, 123, 142);
/* oklch */ color: oklch(54.0% 0.086 215.4);
Tailwind
colors: {
  custom: {
    50: '#6ea1af',
    500: '#217b8e',
    950: '#000000',
  },
}
SCSS
$custom: #217b8e;
$custom-light: #6ea1af;
$custom-dark: #000000;
JSON
{
  "hex": "#217b8e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 142
  },
  "hsl": {
    "h": 190.459,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.08565,
    "h": 215.4
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#217B8E
secondary
#BA6350
accent
#5F42E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #217B8E

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

Preview Lab → · Contrast checker → · Palette generator →

#217B8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva