#217AA4#217AA4

#217AA4 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.8% C 0.103 H 234.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#217AA4
RGBrgb(33, 122, 164)
HSLhsl(199, 66%, 39%)
HSVhsv(199, 80%, 64%)
CMYKcmyk(79.9%, 25.6%, 0%, 35.7%)
CIE-LABlab(48.16, -10.72, -29.73)
CIE-LCHlch(48.16, 31.60, 250.18°)
OKLaboklab(54.82% -0.0603 -0.0839)
OKLCHoklch(54.82% 0.103 234.3)
XYZxyz(14.2849, 16.9210, 37.6280)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217AA4 #A44B21
analogous
#21A48C #217AA4 #2138A4
triadic
#217AA4 #A4217A #7AA421
tetradic
#217AA4 #8C21A4 #A44B21 #38A421
square
#217AA4 #8C21A4 #A44B21 #38A421
split-complementary
#217AA4 #A42138 #A48C21
monochromatic
#0C2E3E #175471 #217AA4 #2D9FD5 #60B6DF

Accessibility & contrast

On white

4.79
#217AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#217AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217AA4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217AA4#FFFFFF#000000##FFFFFF
##217AA41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217aa4;
/* rgb */ color: rgb(33, 122, 164);
/* oklch */ color: oklch(54.8% 0.103 234.3);
Tailwind
colors: {
  custom: {
    50: '#72a0bf',
    500: '#217aa4',
    950: '#000000',
  },
}
SCSS
$custom: #217aa4;
$custom-light: #72a0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#217aa4",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 164
  },
  "hsl": {
    "h": 199.237,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.10327,
    "h": 234.3
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#217AA4
secondary
#C47E5D
accent
#753EE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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