#217BA1#217BA1

#217BA1 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.9% C 0.100 H 231.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#217BA1
RGBrgb(33, 123, 161)
HSLhsl(198, 66%, 38%)
HSVhsv(198, 80%, 63%)
CMYKcmyk(79.5%, 23.6%, 0%, 36.9%)
CIE-LABlab(48.34, -12.37, -27.70)
CIE-LCHlch(48.34, 30.34, 245.93°)
OKLaboklab(54.92% -0.0623 -0.078)
OKLCHoklch(54.92% 0.1 231.4)
XYZxyz(14.1406, 17.0607, 36.2591)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217BA1 #A14721
analogous
#21A187 #217BA1 #213BA1
triadic
#217BA1 #A1217B #7BA121
tetradic
#217BA1 #8721A1 #A14721 #3BA121
square
#217BA1 #8721A1 #A14721 #3BA121
split-complementary
#217BA1 #A1213B #A18721
monochromatic
#0C2D3B #17546E #217BA1 #2CA2D4 #5EB8DE

Accessibility & contrast

On white

4.76
#217BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#217BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217BA1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217BA1#FFFFFF#000000##FFFFFF
##217BA11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A3
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #217ba1;
/* rgb */ color: rgb(33, 123, 161);
/* oklch */ color: oklch(54.9% 0.100 231.4);
Tailwind
colors: {
  custom: {
    50: '#71a1bd',
    500: '#217ba1',
    950: '#000000',
  },
}
SCSS
$custom: #217ba1;
$custom-light: #71a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#217ba1",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 197.813,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.09983,
    "h": 231.4
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#217BA1
secondary
#C37A5B
accent
#713FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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