#21758C#21758C

#21758C is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.4% C 0.085 H 220.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#21758C
RGBrgb(33, 117, 140)
HSLhsl(193, 62%, 34%)
HSVhsv(193, 76%, 55%)
CMYKcmyk(76.4%, 16.4%, 0%, 45.1%)
CIE-LABlab(45.55, -16.43, -19.64)
CIE-LCHlch(45.55, 25.61, 230.09°)
OKLaboklab(52.39% -0.0644 -0.0549)
OKLCHoklch(52.39% 0.085 220.4)
XYZxyz(11.7201, 14.9380, 27.0715)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21758C #8C3821
analogous
#218C6E #21758C #21408C
triadic
#21758C #8C2175 #758C21
tetradic
#21758C #6E218C #8C3821 #408C21
square
#21758C #6E218C #8C3821 #408C21
split-complementary
#21758C #8C2140 #8C6E21
monochromatic
#0A2229 #154C5A #21758C #2D9EBE #51BAD6

Accessibility & contrast

On white

5.27
#21758C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#21758C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21758C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21758C#FFFFFF#000000##FFFFFF
##21758C1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67728D
Deuteranopia (green-blind)
#59678C
Tritanopia (blue-blind)
#007C7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21758c;
/* rgb */ color: rgb(33, 117, 140);
/* oklch */ color: oklch(52.4% 0.085 220.4);
Tailwind
colors: {
  custom: {
    50: '#6d9dad',
    500: '#21758c',
    950: '#000000',
  },
}
SCSS
$custom: #21758c;
$custom-light: #6d9dad;
$custom-dark: #000000;
JSON
{
  "hex": "#21758c",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 140
  },
  "hsl": {
    "h": 192.897,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.08468,
    "h": 220.4
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#21758C
secondary
#B9664F
accent
#6643E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21758C

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

Preview Lab → · Contrast checker → · Palette generator →

#21758C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva