#217298#217298

#217298 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.096 H 233.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#217298
RGBrgb(33, 114, 152)
HSLhsl(199, 64%, 36%)
HSVhsv(199, 78%, 60%)
CMYKcmyk(78.3%, 25%, 0%, 40.4%)
CIE-LABlab(45.11, -10.45, -27.43)
CIE-LCHlch(45.11, 29.35, 249.14°)
OKLaboklab(52.22% -0.0567 -0.0773)
OKLCHoklch(52.22% 0.096 233.7)
XYZxyz(12.3097, 14.6235, 31.8735)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217298 #984721
analogous
#219883 #217298 #213798
triadic
#217298 #982172 #729821
tetradic
#217298 #832198 #984721 #379821
square
#217298 #832198 #984721 #379821
split-complementary
#217298 #982137 #988321
monochromatic
#0B2733 #164C66 #217298 #2C98CA #59B1DB

Accessibility & contrast

On white

5.35
#217298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#217298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217298
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217298#FFFFFF#000000##FFFFFF
##2172981.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719A
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217298;
/* rgb */ color: rgb(33, 114, 152);
/* oklch */ color: oklch(52.2% 0.096 233.7);
Tailwind
colors: {
  custom: {
    50: '#6f9ab6',
    500: '#217298',
    950: '#000000',
  },
}
SCSS
$custom: #217298;
$custom-light: #6f9ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#217298",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 199.16,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.09588,
    "h": 233.7
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217298

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

Preview Lab → · Contrast checker → · Palette generator →

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