#217CD4#217CD4

#217CD4 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.1% C 0.158 H 252.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#217CD4
RGBrgb(33, 124, 212)
HSLhsl(209, 73%, 48%)
HSVhsv(209, 84%, 83%)
CMYKcmyk(84.4%, 41.5%, 0%, 16.9%)
CIE-LABlab(51.26, 6.08, -52.44)
CIE-LCHlch(51.26, 52.79, 276.61°)
OKLaboklab(58.08% -0.0482 -0.1502)
OKLCHoklch(58.08% 0.158 252.2)
XYZxyz(19.7140, 19.4896, 64.9974)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217CD4 #D47921
analogous
#21D4D2 #217CD4 #2123D4
triadic
#217CD4 #D4217C #7CD421
tetradic
#217CD4 #D221D4 #D47921 #23D421
square
#217CD4 #D221D4 #D47921 #23D421
split-complementary
#217CD4 #D42123 #D4D221
monochromatic
#113E6A #195D9F #217CD4 #4F9AE4 #84B9EC

Accessibility & contrast

On white

4.29
#217CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#217CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217CD4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217CD4#FFFFFF#000000##000000
##217CD41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D7
Deuteranopia (green-blind)
#2F73D2
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #217cd4;
/* rgb */ color: rgb(33, 124, 212);
/* oklch */ color: oklch(58.1% 0.158 252.2);
Tailwind
colors: {
  custom: {
    50: '#7ca1e2',
    500: '#217cd4',
    950: '#000000',
  },
}
SCSS
$custom: #217cd4;
$custom-light: #7ca1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#217cd4",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 209.497,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.15776,
    "h": 252.2
  },
  "luminance": 0.19492
}

Semantic roles & 50–950 ramp

primary
#217CD4
secondary
#D5A87C
accent
#9238F0
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #217CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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