#217791#217791

#217791 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.1% C 0.088 H 222.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#217791
RGBrgb(33, 119, 145)
HSLhsl(194, 63%, 35%)
HSVhsv(194, 77%, 57%)
CMYKcmyk(77.2%, 17.9%, 0%, 43.1%)
CIE-LABlab(46.39, -15.80, -21.31)
CIE-LCHlch(46.39, 26.53, 233.44°)
OKLaboklab(53.14% -0.0645 -0.0597)
OKLCHoklch(53.14% 0.088 222.8)
XYZxyz(12.3327, 15.5598, 29.1359)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217791 #913B21
analogous
#219173 #217791 #213F91
triadic
#217791 #912177 #779121
tetradic
#217791 #732191 #913B21 #3F9121
square
#217791 #732191 #913B21 #3F9121
split-complementary
#217791 #91213F #917321
monochromatic
#0A252D #164E5F #217791 #2CA0C3 #54BAD8

Accessibility & contrast

On white

5.11
#217791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217791
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217791#FFFFFF#000000##FFFFFF
##2177911.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687492
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217791;
/* rgb */ color: rgb(33, 119, 145);
/* oklch */ color: oklch(53.1% 0.088 222.8);
Tailwind
colors: {
  custom: {
    50: '#6e9eb1',
    500: '#217791',
    950: '#000000',
  },
}
SCSS
$custom: #217791;
$custom-light: #6e9eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#217791",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 193.929,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.08785,
    "h": 222.8
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#217791
secondary
#BC6B52
accent
#6842E6
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #217791

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

Preview Lab → · Contrast checker → · Palette generator →

#217791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva