#217BA6#217BA6

#217BA6 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.105 H 234.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#217BA6
RGBrgb(33, 123, 166)
HSLhsl(199, 67%, 39%)
HSVhsv(199, 80%, 65%)
CMYKcmyk(80.1%, 25.9%, 0%, 34.9%)
CIE-LABlab(48.56, -10.56, -30.27)
CIE-LCHlch(48.56, 32.06, 250.76°)
OKLaboklab(55.17% -0.0605 -0.0854)
OKLCHoklch(55.17% 0.105 234.7)
XYZxyz(14.5903, 17.2406, 38.6278)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217BA6 #A64C21
analogous
#21A68F #217BA6 #2139A6
triadic
#217BA6 #A6217B #7BA621
tetradic
#217BA6 #8F21A6 #A64C21 #39A621
square
#217BA6 #8F21A6 #A64C21 #39A621
split-complementary
#217BA6 #A62139 #A68F21
monochromatic
#0D2F40 #175573 #217BA6 #2FA0D6 #62B7E0

Accessibility & contrast

On white

4.72
#217BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#217BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217BA6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217BA6#FFFFFF#000000##FFFFFF
##217BA61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217ba6;
/* rgb */ color: rgb(33, 123, 166);
/* oklch */ color: oklch(55.2% 0.105 234.7);
Tailwind
colors: {
  custom: {
    50: '#72a1c0',
    500: '#217ba6',
    950: '#000000',
  },
}
SCSS
$custom: #217ba6;
$custom-light: #72a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#217ba6",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 199.398,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.10468,
    "h": 234.7
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#217BA6
secondary
#C57F5E
accent
#763EEA
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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