#21789C#21789C

#21789C is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.097 H 230.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#21789C
RGBrgb(33, 120, 156)
HSLhsl(198, 65%, 37%)
HSVhsv(198, 79%, 61%)
CMYKcmyk(78.8%, 23.1%, 0%, 38.8%)
CIE-LABlab(47.18, -12.46, -26.58)
CIE-LCHlch(47.18, 29.35, 244.88°)
OKLaboklab(53.92% -0.0612 -0.0748)
OKLCHoklch(53.92% 0.097 230.7)
XYZxyz(13.3420, 16.1550, 33.8611)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21789C #9C4521
analogous
#219C83 #21789C #213B9C
triadic
#21789C #9C2178 #789C21
tetradic
#21789C #83219C #9C4521 #3B9C21
square
#21789C #83219C #9C4521 #3B9C21
split-complementary
#21789C #9C213B #9C8321
monochromatic
#0C2A37 #165169 #21789C #2C9FCF #5BB6DC

Accessibility & contrast

On white

4.96
#21789C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#21789C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21789C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21789C#FFFFFF#000000##FFFFFF
##21789C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769E
Deuteranopia (green-blind)
#556B9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21789c;
/* rgb */ color: rgb(33, 120, 156);
/* oklch */ color: oklch(53.9% 0.097 230.7);
Tailwind
colors: {
  custom: {
    50: '#709fb9',
    500: '#21789c',
    950: '#000000',
  },
}
SCSS
$custom: #21789c;
$custom-light: #709fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21789c",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 197.561,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.09664,
    "h": 230.7
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#21789C
secondary
#C17758
accent
#7140E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21789C

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

Preview Lab → · Contrast checker → · Palette generator →

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