#21738C#21738C

#21738C is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 51.9% C 0.085 H 222.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#21738C
RGBrgb(33, 115, 140)
HSLhsl(194, 62%, 34%)
HSVhsv(194, 76%, 55%)
CMYKcmyk(76.4%, 17.9%, 0%, 45.1%)
CIE-LABlab(44.91, -15.31, -20.63)
CIE-LCHlch(44.91, 25.69, 233.41°)
OKLaboklab(51.88% -0.0624 -0.0577)
OKLCHoklch(51.88% 0.085 222.8)
XYZxyz(11.4896, 14.4769, 26.9946)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21738C #8C3A21
analogous
#218C70 #21738C #213E8C
triadic
#21738C #8C2173 #738C21
tetradic
#21738C #70218C #8C3A21 #3E8C21
square
#21738C #70218C #8C3A21 #3E8C21
split-complementary
#21738C #8C213E #8C7021
monochromatic
#0A2229 #154A5A #21738C #2D9CBE #51B7D6

Accessibility & contrast

On white

5.39
#21738C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#21738C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21738C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21738C#FFFFFF#000000##FFFFFF
##21738C1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65708D
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#007B7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21738c;
/* rgb */ color: rgb(33, 115, 140);
/* oklch */ color: oklch(51.9% 0.085 222.8);
Tailwind
colors: {
  custom: {
    50: '#6d9bad',
    500: '#21738c',
    950: '#000000',
  },
}
SCSS
$custom: #21738c;
$custom-light: #6d9bad;
$custom-dark: #000000;
JSON
{
  "hex": "#21738c",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 140
  },
  "hsl": {
    "h": 194.019,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51879,
    "c": 0.08499,
    "h": 222.8
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

primary
#21738C
secondary
#B9684F
accent
#6943E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21738C

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

Preview Lab → · Contrast checker → · Palette generator →

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