#217DA8#217DA8

#217DA8 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.105 H 234.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#217DA8
RGBrgb(33, 125, 168)
HSLhsl(199, 67%, 39%)
HSVhsv(199, 80%, 66%)
CMYKcmyk(80.4%, 25.6%, 0%, 34.1%)
CIE-LABlab(49.27, -10.99, -30.32)
CIE-LCHlch(49.27, 32.25, 250.08°)
OKLaboklab(55.77% -0.0617 -0.0856)
OKLCHoklch(55.77% 0.106 234.2)
XYZxyz(15.0258, 17.8159, 39.6851)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217DA8 #A84C21
analogous
#21A890 #217DA8 #213AA8
triadic
#217DA8 #A8217D #7DA821
tetradic
#217DA8 #9021A8 #A84C21 #3AA821
square
#217DA8 #9021A8 #A84C21 #3AA821
split-complementary
#217DA8 #A8213A #A89021
monochromatic
#0D3142 #175775 #217DA8 #30A1D6 #63B8E0

Accessibility & contrast

On white

4.60
#217DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#217DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #217DA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217DA8#FFFFFF#000000##FFFFFF
##217DA81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CAA
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #217da8;
/* rgb */ color: rgb(33, 125, 168);
/* oklch */ color: oklch(55.8% 0.105 234.2);
Tailwind
colors: {
  custom: {
    50: '#73a2c2',
    500: '#217da8',
    950: '#000000',
  },
}
SCSS
$custom: #217da8;
$custom-light: #73a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#217da8",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 199.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.1055,
    "h": 234.2
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#217DA8
secondary
#C5805F
accent
#753EEA
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #217DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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