#217DD4#217DD4

#217DD4 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.3% C 0.157 H 251.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#217DD4
RGBrgb(33, 125, 212)
HSLhsl(209, 73%, 48%)
HSVhsv(209, 84%, 83%)
CMYKcmyk(84.4%, 41%, 0%, 16.9%)
CIE-LABlab(51.54, 5.46, -51.98)
CIE-LCHlch(51.54, 52.27, 276.00°)
OKLaboklab(58.3% -0.049 -0.1488)
OKLCHoklch(58.3% 0.157 251.8)
XYZxyz(19.8400, 19.7415, 65.0394)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217DD4 #D47821
analogous
#21D4D1 #217DD4 #2124D4
triadic
#217DD4 #D4217D #7DD421
tetradic
#217DD4 #D121D4 #D47821 #24D421
square
#217DD4 #D121D4 #D47821 #24D421
split-complementary
#217DD4 #D42124 #D4D121
monochromatic
#113F6A #195E9F #217DD4 #4F9BE4 #84B9EC

Accessibility & contrast

On white

4.24
#217DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#217DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217DD4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217DD4#FFFFFF#000000##000000
##217DD41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5183D7
Deuteranopia (green-blind)
#3274D2
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #217dd4;
/* rgb */ color: rgb(33, 125, 212);
/* oklch */ color: oklch(58.3% 0.157 251.8);
Tailwind
colors: {
  custom: {
    50: '#7ca2e2',
    500: '#217dd4',
    950: '#000000',
  },
}
SCSS
$custom: #217dd4;
$custom-light: #7ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#217dd4",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 209.162,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.1567,
    "h": 251.8
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#217DD4
secondary
#D5A77C
accent
#9138F0
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #217DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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