#217AA1#217AA1

#217AA1 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.100 H 232.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#217AA1
RGBrgb(33, 122, 161)
HSLhsl(198, 66%, 38%)
HSVhsv(198, 80%, 63%)
CMYKcmyk(79.5%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.02, -11.80, -28.19)
CIE-LCHlch(48.02, 30.56, 247.28°)
OKLaboklab(54.67% -0.0613 -0.0794)
OKLCHoklch(54.67% 0.1 232.3)
XYZxyz(14.0171, 16.8139, 36.2179)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217AA1 #A14821
analogous
#21A188 #217AA1 #213AA1
triadic
#217AA1 #A1217A #7AA121
tetradic
#217AA1 #8821A1 #A14821 #3AA121
square
#217AA1 #8821A1 #A14821 #3AA121
split-complementary
#217AA1 #A1213A #A18821
monochromatic
#0C2D3B #17546E #217AA1 #2CA0D4 #5EB7DE

Accessibility & contrast

On white

4.81
#217AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#217AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217AA1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217AA1#FFFFFF#000000##FFFFFF
##217AA11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6679A3
Deuteranopia (green-blind)
#556DA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #217aa1;
/* rgb */ color: rgb(33, 122, 161);
/* oklch */ color: oklch(54.7% 0.100 232.3);
Tailwind
colors: {
  custom: {
    50: '#71a0bd',
    500: '#217aa1',
    950: '#000000',
  },
}
SCSS
$custom: #217aa1;
$custom-light: #71a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#217aa1",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 198.281,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.10034,
    "h": 232.3
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#217AA1
secondary
#C37B5B
accent
#733FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #217AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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