#217FD4#217FD4

#217FD4 is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.155 H 250.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#217FD4
RGBrgb(33, 127, 212)
HSLhsl(208, 73%, 48%)
HSVhsv(208, 84%, 83%)
CMYKcmyk(84.4%, 40.1%, 0%, 16.9%)
CIE-LABlab(52.12, 4.24, -51.06)
CIE-LCHlch(52.12, 51.23, 274.75°)
OKLaboklab(58.75% -0.0506 -0.1461)
OKLCHoklch(58.75% 0.155 250.9)
XYZxyz(20.0957, 20.2530, 65.1247)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217FD4 #D47621
analogous
#21D4CF #217FD4 #2125D4
triadic
#217FD4 #D4217F #7FD421
tetradic
#217FD4 #CF21D4 #D47621 #25D421
square
#217FD4 #CF21D4 #D47621 #25D421
split-complementary
#217FD4 #D42125 #D4CF21
monochromatic
#11406A #195F9F #217FD4 #4F9DE4 #84BAEC

Accessibility & contrast

On white

4.16
#217FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#217FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217FD4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217FD4#FFFFFF#000000##000000
##217FD41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217fd4;
/* rgb */ color: rgb(33, 127, 212);
/* oklch */ color: oklch(58.8% 0.155 250.9);
Tailwind
colors: {
  custom: {
    50: '#7ca3e2',
    500: '#217fd4',
    950: '#000000',
  },
}
SCSS
$custom: #217fd4;
$custom-light: #7ca3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#217fd4",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 208.492,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.15459,
    "h": 250.9
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#217FD4
secondary
#D5A67C
accent
#8F38F0
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #217FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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