#21789A#21789A

#21789A is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.095 H 229.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#21789A
RGBrgb(33, 120, 154)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 60%)
CMYKcmyk(78.6%, 22.1%, 0%, 39.6%)
CIE-LABlab(47.09, -13.18, -25.54)
CIE-LCHlch(47.09, 28.74, 242.70°)
OKLaboklab(53.82% -0.062 -0.0718)
OKLCHoklch(53.82% 0.095 229.2)
XYZxyz(13.1740, 16.0878, 32.9765)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21789A #9A4321
analogous
#219A80 #21789A #213B9A
triadic
#21789A #9A2178 #789A21
tetradic
#21789A #80219A #9A4321 #3B9A21
square
#21789A #80219A #9A4321 #3B9A21
split-complementary
#21789A #9A213B #9A8021
monochromatic
#0B2935 #165168 #21789A #2C9FCC #5AB7DC

Accessibility & contrast

On white

4.98
#21789A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#21789A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21789A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21789A#FFFFFF#000000##FFFFFF
##21789A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769C
Deuteranopia (green-blind)
#566B9A
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21789a;
/* rgb */ color: rgb(33, 120, 154);
/* oklch */ color: oklch(53.8% 0.095 229.2);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#21789a',
    950: '#000000',
  },
}
SCSS
$custom: #21789a;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#21789a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 196.86,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.09483,
    "h": 229.2
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21789A

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

Preview Lab → · Contrast checker → · Palette generator →

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