#21788F#21788F

#21788F is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.086 H 219.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#21788F
RGBrgb(33, 120, 143)
HSLhsl(193, 63%, 35%)
HSVhsv(193, 77%, 56%)
CMYKcmyk(76.9%, 16.1%, 0%, 43.9%)
CIE-LABlab(46.63, -17.05, -19.76)
CIE-LCHlch(46.63, 26.10, 229.21°)
OKLaboklab(53.3% -0.0663 -0.0552)
OKLCHoklch(53.3% 0.086 219.8)
XYZxyz(12.2995, 15.7380, 28.3708)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21788F #8F3821
analogous
#218F6F #21788F #21418F
triadic
#21788F #8F2178 #788F21
tetradic
#21788F #6F218F #8F3821 #418F21
square
#21788F #6F218F #8F3821 #418F21
split-complementary
#21788F #8F2141 #8F6F21
monochromatic
#0A252C #164E5D #21788F #2CA2C1 #53BCD7

Accessibility & contrast

On white

5.06
#21788F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#21788F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21788F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21788F#FFFFFF#000000##FFFFFF
##21788F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7590
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #21788f;
/* rgb */ color: rgb(33, 120, 143);
/* oklch */ color: oklch(53.3% 0.086 219.8);
Tailwind
colors: {
  custom: {
    50: '#6e9faf',
    500: '#21788f',
    950: '#000000',
  },
}
SCSS
$custom: #21788f;
$custom-light: #6e9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#21788f",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 143
  },
  "hsl": {
    "h": 192.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.533,
    "c": 0.08631,
    "h": 219.8
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#21788F
secondary
#BB6751
accent
#6442E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21788F

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

Preview Lab → · Contrast checker → · Palette generator →

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