#217FA6#217FA6

#217FA6 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.103 H 231.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#217FA6
RGBrgb(33, 127, 166)
HSLhsl(198, 67%, 39%)
HSVhsv(198, 80%, 65%)
CMYKcmyk(80.1%, 23.5%, 0%, 34.9%)
CIE-LABlab(49.80, -12.85, -28.34)
CIE-LCHlch(49.80, 31.11, 245.61°)
OKLaboklab(56.16% -0.0644 -0.0798)
OKLCHoklch(56.16% 0.103 231.1)
XYZxyz(15.0967, 18.2534, 38.7966)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217FA6 #A64821
analogous
#21A68B #217FA6 #213DA6
triadic
#217FA6 #A6217F #7FA621
tetradic
#217FA6 #8B21A6 #A64821 #3DA621
square
#217FA6 #8B21A6 #A64821 #3DA621
split-complementary
#217FA6 #A6213D #A68B21
monochromatic
#0D3140 #175873 #217FA6 #2FA5D6 #62BBE0

Accessibility & contrast

On white

4.52
#217FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#217FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217FA6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217FA6#FFFFFF#000000##000000
##217FA61.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA8
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #217fa6;
/* rgb */ color: rgb(33, 127, 166);
/* oklch */ color: oklch(56.2% 0.103 231.1);
Tailwind
colors: {
  custom: {
    50: '#73a4c0',
    500: '#217fa6',
    950: '#000000',
  },
}
SCSS
$custom: #217fa6;
$custom-light: #73a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#217fa6",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 197.594,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.10253,
    "h": 231.1
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#217FA6
secondary
#C57C5E
accent
#703EEA
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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