#217498#217498

#217498 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.7% C 0.095 H 231.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#217498
RGBrgb(33, 116, 152)
HSLhsl(198, 64%, 36%)
HSVhsv(198, 78%, 60%)
CMYKcmyk(78.3%, 23.7%, 0%, 40.4%)
CIE-LABlab(45.74, -11.61, -26.45)
CIE-LCHlch(45.74, 28.88, 246.30°)
OKLaboklab(52.72% -0.0587 -0.0744)
OKLCHoklch(52.72% 0.095 231.7)
XYZxyz(12.5378, 15.0796, 31.9495)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217498 #984521
analogous
#219881 #217498 #213998
triadic
#217498 #982174 #749821
tetradic
#217498 #812198 #984521 #399821
square
#217498 #812198 #984521 #399821
split-complementary
#217498 #982139 #988121
monochromatic
#0B2733 #164E66 #217498 #2C9ACA #59B3DB

Accessibility & contrast

On white

5.23
#217498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217498
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217498#FFFFFF#000000##FFFFFF
##2174981.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217498;
/* rgb */ color: rgb(33, 116, 152);
/* oklch */ color: oklch(52.7% 0.095 231.7);
Tailwind
colors: {
  custom: {
    50: '#6f9cb6',
    500: '#217498',
    950: '#000000',
  },
}
SCSS
$custom: #217498;
$custom-light: #6f9cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#217498",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 198.151,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.09482,
    "h": 231.7
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#217498
secondary
#BF7656
accent
#7340E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #217498

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

Preview Lab → · Contrast checker → · Palette generator →

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