#21687E#21687E

#21687E is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.4% C 0.077 H 222.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#21687E
RGBrgb(33, 104, 126)
HSLhsl(194, 58%, 31%)
HSVhsv(194, 74%, 49%)
CMYKcmyk(73.8%, 17.5%, 0%, 50.6%)
CIE-LABlab(40.78, -14.01, -18.57)
CIE-LCHlch(40.78, 23.26, 232.98°)
OKLaboklab(48.38% -0.0564 -0.0519)
OKLCHoklch(48.38% 0.077 222.6)
XYZxyz(9.3419, 11.7292, 21.5062)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21687E #7E3721
analogous
#217E65 #21687E #21397E
triadic
#21687E #7E2168 #687E21
tetradic
#21687E #65217E #7E3721 #397E21
square
#21687E #65217E #7E3721 #397E21
split-complementary
#21687E #7E2139 #7E6521
monochromatic
#08181D #14404E #21687E #2E90AE #4AB0D0

Accessibility & contrast

On white

6.28
#21687E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#21687E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21687E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21687E#FFFFFF#000000##FFFFFF
##21687E1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B657F
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#006F6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #21687e;
/* rgb */ color: rgb(33, 104, 126);
/* oklch */ color: oklch(48.4% 0.077 222.6);
Tailwind
colors: {
  custom: {
    50: '#6a93a3',
    500: '#21687e',
    950: '#000000',
  },
}
SCSS
$custom: #21687e;
$custom-light: #6a93a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21687e",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 126
  },
  "hsl": {
    "h": 194.194,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.0767,
    "h": 222.6
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#21687E
secondary
#B1624A
accent
#6B46E2
background
#F6F9FA
surface
#ECF1F3
border
#C7CBCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #21687E

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

Preview Lab → · Contrast checker → · Palette generator →

#21687E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva