#21799A#21799A

#21799A is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.094 H 228.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#21799A
RGBrgb(33, 121, 154)
HSLhsl(196, 65%, 37%)
HSVhsv(196, 79%, 60%)
CMYKcmyk(78.6%, 21.4%, 0%, 39.6%)
CIE-LABlab(47.40, -13.74, -25.05)
CIE-LCHlch(47.40, 28.57, 241.25°)
OKLaboklab(54.07% -0.063 -0.0704)
OKLCHoklch(54.07% 0.094 228.2)
XYZxyz(13.2949, 16.3296, 33.0168)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21799A #9A4221
analogous
#219A7F #21799A #213C9A
triadic
#21799A #9A2179 #799A21
tetradic
#21799A #7F219A #9A4221 #3C9A21
square
#21799A #7F219A #9A4221 #3C9A21
split-complementary
#21799A #9A213C #9A7F21
monochromatic
#0B2A35 #165168 #21799A #2CA1CC #5AB8DC

Accessibility & contrast

On white

4.92
#21799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#21799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21799A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21799A#FFFFFF#000000##FFFFFF
##21799A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779C
Deuteranopia (green-blind)
#586B9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21799a;
/* rgb */ color: rgb(33, 121, 154);
/* oklch */ color: oklch(54.1% 0.094 228.2);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#21799a',
    950: '#000000',
  },
}
SCSS
$custom: #21799a;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#21799a",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 196.364,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.09442,
    "h": 228.2
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#21799A
secondary
#C07457
accent
#6E40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21799A

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

Preview Lab → · Contrast checker → · Palette generator →

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