#21799C#21799C

#21799C is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.096 H 229.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#21799C
RGBrgb(33, 121, 156)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(78.8%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.49, -13.03, -26.09)
CIE-LCHlch(47.49, 29.16, 243.46°)
OKLaboklab(54.17% -0.0622 -0.0734)
OKLCHoklch(54.17% 0.096 229.7)
XYZxyz(13.4629, 16.3967, 33.9014)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21799C #9C4421
analogous
#219C82 #21799C #213C9C
triadic
#21799C #9C2179 #799C21
tetradic
#21799C #82219C #9C4421 #3C9C21
square
#21799C #82219C #9C4421 #3C9C21
split-complementary
#21799C #9C213C #9C8221
monochromatic
#0C2B37 #165269 #21799C #2CA0CF #5BB8DC

Accessibility & contrast

On white

4.91
#21799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#21799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21799C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21799C#FFFFFF#000000##FFFFFF
##21799C1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779E
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21799c;
/* rgb */ color: rgb(33, 121, 156);
/* oklch */ color: oklch(54.2% 0.096 229.7);
Tailwind
colors: {
  custom: {
    50: '#709fb9',
    500: '#21799c',
    950: '#000000',
  },
}
SCSS
$custom: #21799c;
$custom-light: #709fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21799c",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 197.073,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.09619,
    "h": 229.7
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#21799C
secondary
#C17658
accent
#7040E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21799C

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

Preview Lab → · Contrast checker → · Palette generator →

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