#217BA4#217BA4

#217BA4 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.103 H 233.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#217BA4
RGBrgb(33, 123, 164)
HSLhsl(199, 66%, 39%)
HSVhsv(199, 80%, 64%)
CMYKcmyk(79.9%, 25%, 0%, 35.7%)
CIE-LABlab(48.47, -11.29, -29.25)
CIE-LCHlch(48.47, 31.35, 248.89°)
OKLaboklab(55.07% -0.0612 -0.0825)
OKLCHoklch(55.07% 0.103 233.4)
XYZxyz(14.4083, 17.1678, 37.6691)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217BA4 #A44A21
analogous
#21A48B #217BA4 #2139A4
triadic
#217BA4 #A4217B #7BA421
tetradic
#217BA4 #8B21A4 #A44A21 #39A421
square
#217BA4 #8B21A4 #A44A21 #39A421
split-complementary
#217BA4 #A42139 #A48B21
monochromatic
#0C2F3E #175571 #217BA4 #2DA0D5 #60B7DF

Accessibility & contrast

On white

4.74
#217BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#217BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217BA4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217BA4#FFFFFF#000000##FFFFFF
##217BA41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677AA6
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217ba4;
/* rgb */ color: rgb(33, 123, 164);
/* oklch */ color: oklch(55.1% 0.103 233.4);
Tailwind
colors: {
  custom: {
    50: '#72a1bf',
    500: '#217ba4',
    950: '#000000',
  },
}
SCSS
$custom: #217ba4;
$custom-light: #72a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#217ba4",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 164
  },
  "hsl": {
    "h": 198.779,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.1027,
    "h": 233.4
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#217BA4
secondary
#C47D5D
accent
#743EE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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