#217B8D#217B8D

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

Color values

HEX#217B8D
RGBrgb(33, 123, 141)
HSLhsl(190, 62%, 34%)
HSVhsv(190, 77%, 55%)
CMYKcmyk(76.6%, 12.8%, 0%, 44.7%)
CIE-LABlab(47.51, -19.37, -17.23)
CIE-LCHlch(47.51, 25.93, 221.66°)
OKLaboklab(53.98% -0.0703 -0.048)
OKLCHoklch(53.98% 0.085 214.4)
XYZxyz(12.5158, 16.4108, 27.7021)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B8D #8D3321
analogous
#218D69 #217B8D #21458D
triadic
#217B8D #8D217B #7B8D21
tetradic
#217B8D #69218D #8D3321 #458D21
square
#217B8D #69218D #8D3321 #458D21
split-complementary
#217B8D #8D2145 #8D6921
monochromatic
#0A242A #15505B #217B8D #2DA6BF #52C0D6

Accessibility & contrast

On white

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

On black

4.28
#217B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217B8D#FFFFFF#000000##FFFFFF
##217B8D1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b8d;
/* rgb */ color: rgb(33, 123, 141);
/* oklch */ color: oklch(54.0% 0.085 214.4);
Tailwind
colors: {
  custom: {
    50: '#6ea1ae',
    500: '#217b8d',
    950: '#000000',
  },
}
SCSS
$custom: #217b8d;
$custom-light: #6ea1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#217b8d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 141
  },
  "hsl": {
    "h": 190,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.08513,
    "h": 214.4
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#217B8D
secondary
#BA6250
accent
#5E43E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #217B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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