#217DA2#217DA2

#217DA2 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.100 H 230.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#217DA2
RGBrgb(33, 125, 162)
HSLhsl(197, 66%, 38%)
HSVhsv(197, 80%, 64%)
CMYKcmyk(79.6%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.00, -13.15, -27.25)
CIE-LCHlch(49.00, 30.26, 244.24°)
OKLaboklab(55.47% -0.0639 -0.0767)
OKLCHoklch(55.47% 0.1 230.2)
XYZxyz(14.4797, 17.5974, 36.8089)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217DA2 #A24621
analogous
#21A286 #217DA2 #213DA2
triadic
#217DA2 #A2217D #7DA221
tetradic
#217DA2 #8621A2 #A24621 #3DA221
square
#217DA2 #8621A2 #A24621 #3DA221
split-complementary
#217DA2 #A2213D #A28621
monochromatic
#0C2F3C #17566F #217DA2 #2CA4D4 #5FBADE

Accessibility & contrast

On white

4.65
#217DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#217DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217DA2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217DA2#FFFFFF#000000##FFFFFF
##217DA21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #217da2;
/* rgb */ color: rgb(33, 125, 162);
/* oklch */ color: oklch(55.5% 0.100 230.2);
Tailwind
colors: {
  custom: {
    50: '#72a2bd',
    500: '#217da2',
    950: '#000000',
  },
}
SCSS
$custom: #217da2;
$custom-light: #72a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#217da2",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 197.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.09981,
    "h": 230.2
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#217DA2
secondary
#C3795C
accent
#703FE9
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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