#21687D#21687D

#21687D is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.3% C 0.076 H 221.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#21687D
RGBrgb(33, 104, 125)
HSLhsl(194, 58%, 31%)
HSVhsv(194, 74%, 49%)
CMYKcmyk(73.6%, 16.8%, 0%, 51%)
CIE-LABlab(40.74, -14.36, -18.03)
CIE-LCHlch(40.74, 23.05, 231.47°)
OKLaboklab(48.33% -0.0568 -0.0504)
OKLCHoklch(48.33% 0.076 221.5)
XYZxyz(9.2777, 11.7036, 21.1681)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21687D #7D3621
analogous
#217D64 #21687D #213A7D
triadic
#21687D #7D2168 #687D21
tetradic
#21687D #64217D #7D3621 #3A7D21
square
#21687D #64217D #7D3621 #3A7D21
split-complementary
#21687D #7D213A #7D6421
monochromatic
#07171C #14404D #21687D #2E90AD #49B1CF

Accessibility & contrast

On white

6.29
#21687D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#21687D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21687D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21687D#FFFFFF#000000##FFFFFF
##21687D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21687d;
/* rgb */ color: rgb(33, 104, 125);
/* oklch */ color: oklch(48.3% 0.076 221.5);
Tailwind
colors: {
  custom: {
    50: '#6a93a2',
    500: '#21687d',
    950: '#000000',
  },
}
SCSS
$custom: #21687d;
$custom-light: #6a93a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21687d",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 125
  },
  "hsl": {
    "h": 193.696,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.07596,
    "h": 221.5
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#21687D
secondary
#B0614A
accent
#6A46E1
background
#F6F9FA
surface
#ECF1F3
border
#C7CBCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #21687D

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

Preview Lab → · Contrast checker → · Palette generator →

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