#217ED4#217ED4

#217ED4 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.156 H 251.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#217ED4
RGBrgb(33, 126, 212)
HSLhsl(209, 73%, 48%)
HSVhsv(209, 84%, 83%)
CMYKcmyk(84.4%, 40.6%, 0%, 16.9%)
CIE-LABlab(51.83, 4.85, -51.52)
CIE-LCHlch(51.83, 51.75, 275.38°)
OKLaboklab(58.53% -0.0498 -0.1475)
OKLCHoklch(58.53% 0.156 251.3)
XYZxyz(19.9672, 19.9960, 65.0818)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217ED4 #D47721
analogous
#21D4D0 #217ED4 #2124D4
triadic
#217ED4 #D4217E #7ED421
tetradic
#217ED4 #D021D4 #D47721 #24D421
square
#217ED4 #D021D4 #D47721 #24D421
split-complementary
#217ED4 #D42124 #D4D021
monochromatic
#113F6A #195F9F #217ED4 #4F9CE4 #84BAEC

Accessibility & contrast

On white

4.20
#217ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#217ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217ED4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217ED4#FFFFFF#000000##000000
##217ED41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D7
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #217ed4;
/* rgb */ color: rgb(33, 126, 212);
/* oklch */ color: oklch(58.5% 0.156 251.3);
Tailwind
colors: {
  custom: {
    50: '#7ca2e2',
    500: '#217ed4',
    950: '#000000',
  },
}
SCSS
$custom: #217ed4;
$custom-light: #7ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#217ed4",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 208.827,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.15564,
    "h": 251.3
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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