#21738B#21738B

#21738B is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 51.8% C 0.084 H 221.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#21738B
RGBrgb(33, 115, 139)
HSLhsl(194, 62%, 34%)
HSVhsv(194, 76%, 55%)
CMYKcmyk(76.3%, 17.3%, 0%, 45.5%)
CIE-LABlab(44.87, -15.66, -20.09)
CIE-LCHlch(44.87, 25.48, 232.06°)
OKLaboklab(51.83% -0.0628 -0.0562)
OKLCHoklch(51.83% 0.084 221.8)
XYZxyz(11.4162, 14.4475, 26.6081)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21738B #8B3921
analogous
#218B6E #21738B #213E8B
triadic
#21738B #8B2173 #738B21
tetradic
#21738B #6E218B #8B3921 #3E8B21
square
#21738B #6E218B #8B3921 #3E8B21
split-complementary
#21738B #8B213E #8B6E21
monochromatic
#0A2128 #154A5A #21738B #2D9CBC #51B8D6

Accessibility & contrast

On white

5.40
#21738B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#21738B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21738B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21738B#FFFFFF#000000##FFFFFF
##21738B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21738b;
/* rgb */ color: rgb(33, 115, 139);
/* oklch */ color: oklch(51.8% 0.084 221.8);
Tailwind
colors: {
  custom: {
    50: '#6d9bad',
    500: '#21738b',
    950: '#000000',
  },
}
SCSS
$custom: #21738b;
$custom-light: #6d9bad;
$custom-dark: #000000;
JSON
{
  "hex": "#21738b",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 139
  },
  "hsl": {
    "h": 193.585,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.08427,
    "h": 221.8
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#21738B
secondary
#B9674F
accent
#6843E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21738B

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

Preview Lab → · Contrast checker → · Palette generator →

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