#21789F#21789F

#21789F is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.099 H 232.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#21789F
RGBrgb(33, 120, 159)
HSLhsl(199, 66%, 38%)
HSVhsv(199, 79%, 62%)
CMYKcmyk(79.2%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.31, -11.38, -28.13)
CIE-LCHlch(47.31, 30.34, 247.98°)
OKLaboklab(54.07% -0.0601 -0.0793)
OKLCHoklch(54.07% 0.099 232.8)
XYZxyz(13.5991, 16.2578, 35.2155)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21789F #9F4821
analogous
#219F87 #21789F #21399F
triadic
#21789F #9F2178 #789F21
tetradic
#21789F #87219F #9F4821 #399F21
square
#21789F #87219F #9F4821 #399F21
split-complementary
#21789F #9F2139 #9F8721
monochromatic
#0C2C3A #16526C #21789F #2C9ED2 #5DB6DD

Accessibility & contrast

On white

4.94
#21789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#21789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21789F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21789F#FFFFFF#000000##FFFFFF
##21789F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#546B9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21789f;
/* rgb */ color: rgb(33, 120, 159);
/* oklch */ color: oklch(54.1% 0.099 232.8);
Tailwind
colors: {
  custom: {
    50: '#719fbb',
    500: '#21789f',
    950: '#000000',
  },
}
SCSS
$custom: #21789f;
$custom-light: #719fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#21789f",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 198.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.09948,
    "h": 232.8
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#21789F
secondary
#C27A5A
accent
#743FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #21789F

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

Preview Lab → · Contrast checker → · Palette generator →

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