#217FA2#217FA2

#217FA2 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.099 H 228.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#217FA2
RGBrgb(33, 127, 162)
HSLhsl(196, 66%, 38%)
HSVhsv(196, 80%, 64%)
CMYKcmyk(79.6%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.63, -14.28, -26.28)
CIE-LCHlch(49.63, 29.91, 241.49°)
OKLaboklab(55.97% -0.0659 -0.0739)
OKLCHoklch(55.97% 0.099 228.3)
XYZxyz(14.7355, 18.1089, 36.8942)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217FA2 #A24421
analogous
#21A284 #217FA2 #213EA2
triadic
#217FA2 #A2217F #7FA221
tetradic
#217FA2 #8421A2 #A24421 #3EA221
square
#217FA2 #8421A2 #A24421 #3EA221
split-complementary
#217FA2 #A2213E #A28421
monochromatic
#0C2F3C #17576F #217FA2 #2CA6D4 #5FBCDE

Accessibility & contrast

On white

4.54
#217FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#217FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #217FA2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217FA2#FFFFFF#000000##000000
##217FA21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #217fa2;
/* rgb */ color: rgb(33, 127, 162);
/* oklch */ color: oklch(56.0% 0.099 228.3);
Tailwind
colors: {
  custom: {
    50: '#72a4bd',
    500: '#217fa2',
    950: '#000000',
  },
}
SCSS
$custom: #217fa2;
$custom-light: #72a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#217fa2",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 196.279,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.09897,
    "h": 228.3
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#217FA2
secondary
#C3785C
accent
#6D3FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #217FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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