#217795#217795

#217795 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.091 H 226.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#217795
RGBrgb(33, 119, 149)
HSLhsl(196, 64%, 36%)
HSVhsv(196, 78%, 58%)
CMYKcmyk(77.9%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.56, -14.39, -23.41)
CIE-LCHlch(46.56, 27.48, 238.42°)
OKLaboklab(53.33% -0.0629 -0.0657)
OKLCHoklch(53.33% 0.091 226.2)
XYZxyz(12.6466, 15.6854, 30.7890)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217795 #953F21
analogous
#219579 #217795 #213D95
triadic
#217795 #952177 #779521
tetradic
#217795 #792195 #953F21 #3D9521
square
#217795 #792195 #953F21 #3D9521
split-complementary
#217795 #95213D #957921
monochromatic
#0B2731 #164F63 #217795 #2C9FC7 #57B8DA

Accessibility & contrast

On white

5.08
#217795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#217795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217795
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217795#FFFFFF#000000##FFFFFF
##2177951.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677597
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217795;
/* rgb */ color: rgb(33, 119, 149);
/* oklch */ color: oklch(53.3% 0.091 226.2);
Tailwind
colors: {
  custom: {
    50: '#6f9eb4',
    500: '#217795',
    950: '#000000',
  },
}
SCSS
$custom: #217795;
$custom-light: #6f9eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#217795",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 195.517,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.09094,
    "h": 226.2
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#217795
secondary
#BE6F54
accent
#6C41E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #217795

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

Preview Lab → · Contrast checker → · Palette generator →

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