#217BD4#217BD4

#217BD4 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.9% C 0.159 H 252.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#217BD4
RGBrgb(33, 123, 212)
HSLhsl(210, 73%, 48%)
HSVhsv(210, 84%, 83%)
CMYKcmyk(84.4%, 42%, 0%, 16.9%)
CIE-LABlab(50.97, 6.69, -52.90)
CIE-LCHlch(50.97, 53.33, 277.21°)
OKLaboklab(57.85% -0.0474 -0.1516)
OKLCHoklch(57.85% 0.159 252.6)
XYZxyz(19.5893, 19.2402, 64.9559)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217BD4 #D47A21
analogous
#21D4D3 #217BD4 #2122D4
triadic
#217BD4 #D4217B #7BD421
tetradic
#217BD4 #D321D4 #D47A21 #22D421
square
#217BD4 #D321D4 #D47A21 #22D421
split-complementary
#217BD4 #D42122 #D4D321
monochromatic
#113E6A #195C9F #217BD4 #4F9AE4 #84B8EC

Accessibility & contrast

On white

4.33
#217BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#217BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217BD4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217BD4#FFFFFF#000000##000000
##217BD41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D7
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #217bd4;
/* rgb */ color: rgb(33, 123, 212);
/* oklch */ color: oklch(57.9% 0.159 252.6);
Tailwind
colors: {
  custom: {
    50: '#7ca0e2',
    500: '#217bd4',
    950: '#000000',
  },
}
SCSS
$custom: #217bd4;
$custom-light: #7ca0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#217bd4",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 209.832,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.15884,
    "h": 252.6
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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