#217398#217398

#217398 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.095 H 232.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#217398
RGBrgb(33, 115, 152)
HSLhsl(199, 64%, 36%)
HSVhsv(199, 78%, 60%)
CMYKcmyk(78.3%, 24.3%, 0%, 40.4%)
CIE-LABlab(45.43, -11.03, -26.94)
CIE-LCHlch(45.43, 29.11, 247.73°)
OKLaboklab(52.47% -0.0577 -0.0759)
OKLCHoklch(52.47% 0.095 232.7)
XYZxyz(12.4231, 14.8503, 31.9113)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217398 #984621
analogous
#219882 #217398 #213898
triadic
#217398 #982173 #739821
tetradic
#217398 #822198 #984621 #389821
square
#217398 #822198 #984621 #389821
split-complementary
#217398 #982138 #988221
monochromatic
#0B2733 #164D66 #217398 #2C99CA #59B2DB

Accessibility & contrast

On white

5.29
#217398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#217398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217398
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217398#FFFFFF#000000##FFFFFF
##2173981.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217398;
/* rgb */ color: rgb(33, 115, 152);
/* oklch */ color: oklch(52.5% 0.095 232.7);
Tailwind
colors: {
  custom: {
    50: '#6f9bb6',
    500: '#217398',
    950: '#000000',
  },
}
SCSS
$custom: #217398;
$custom-light: #6f9bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#217398",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 198.655,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.09534,
    "h": 232.7
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#217398
secondary
#BF7756
accent
#7440E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #217398

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

Preview Lab → · Contrast checker → · Palette generator →

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