#21789B#21789B

#21789B is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.096 H 230.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#21789B
RGBrgb(33, 120, 155)
HSLhsl(197, 65%, 37%)
HSVhsv(197, 79%, 61%)
CMYKcmyk(78.7%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.13, -12.82, -26.06)
CIE-LCHlch(47.13, 29.04, 243.80°)
OKLaboklab(53.87% -0.0616 -0.0733)
OKLCHoklch(53.87% 0.096 230)
XYZxyz(13.2577, 16.1212, 33.4170)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21789B #9B4421
analogous
#219B81 #21789B #213B9B
triadic
#21789B #9B2178 #789B21
tetradic
#21789B #81219B #9B4421 #3B9B21
square
#21789B #81219B #9B4421 #3B9B21
split-complementary
#21789B #9B213B #9B8121
monochromatic
#0C2A36 #165169 #21789B #2C9FCD #5AB7DC

Accessibility & contrast

On white

4.97
#21789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21789B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21789B#FFFFFF#000000##FFFFFF
##21789B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21789b;
/* rgb */ color: rgb(33, 120, 155);
/* oklch */ color: oklch(53.9% 0.096 230.0);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#21789b',
    950: '#000000',
  },
}
SCSS
$custom: #21789b;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#21789b",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 197.213,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.09573,
    "h": 230
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#21789B
secondary
#C07658
accent
#7040E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #21789B

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

Preview Lab → · Contrast checker → · Palette generator →

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