#21758E#21758E

#21758E is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.5% C 0.086 H 222.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#21758E
RGBrgb(33, 117, 142)
HSLhsl(194, 62%, 34%)
HSVhsv(194, 77%, 56%)
CMYKcmyk(76.8%, 17.6%, 0%, 44.3%)
CIE-LABlab(45.63, -15.73, -20.70)
CIE-LCHlch(45.63, 26.00, 232.77°)
OKLaboklab(52.49% -0.0636 -0.0579)
OKLCHoklch(52.49% 0.086 222.3)
XYZxyz(11.8689, 14.9975, 27.8552)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21758E #8E3A21
analogous
#218E71 #21758E #213F8E
triadic
#21758E #8E2175 #758E21
tetradic
#21758E #71218E #8E3A21 #3F8E21
square
#21758E #71218E #8E3A21 #3F8E21
split-complementary
#21758E #8E213F #8E7121
monochromatic
#0A232B #154C5C #21758E #2D9EC0 #52B9D7

Accessibility & contrast

On white

5.25
#21758E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#21758E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21758E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21758E#FFFFFF#000000##FFFFFF
##21758E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66728F
Deuteranopia (green-blind)
#58678E
Tritanopia (blue-blind)
#007D7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21758e;
/* rgb */ color: rgb(33, 117, 142);
/* oklch */ color: oklch(52.5% 0.086 222.3);
Tailwind
colors: {
  custom: {
    50: '#6e9daf',
    500: '#21758e',
    950: '#000000',
  },
}
SCSS
$custom: #21758e;
$custom-light: #6e9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#21758e",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 142
  },
  "hsl": {
    "h": 193.761,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.08606,
    "h": 222.3
  },
  "luminance": 0.14999
}

Semantic roles & 50–950 ramp

primary
#21758E
secondary
#BA6950
accent
#6842E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21758E

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

Preview Lab → · Contrast checker → · Palette generator →

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