#21687F#21687F

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

Color values

HEX#21687F
RGBrgb(33, 104, 127)
HSLhsl(195, 59%, 31%)
HSVhsv(195, 74%, 50%)
CMYKcmyk(74%, 18.1%, 0%, 50.2%)
CIE-LABlab(40.82, -13.65, -19.11)
CIE-LCHlch(40.82, 23.49, 234.46°)
OKLaboklab(48.43% -0.056 -0.0535)
OKLCHoklch(48.43% 0.077 223.7)
XYZxyz(9.4067, 11.7552, 21.8478)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21687F #7F3821
analogous
#217F67 #21687F #21397F
triadic
#21687F #7F2168 #687F21
tetradic
#21687F #67217F #7F3821 #397F21
square
#21687F #67217F #7F3821 #397F21
split-complementary
#21687F #7F2139 #7F6721
monochromatic
#08181E #14404E #21687F #2E90B0 #4AAFD0

Accessibility & contrast

On white

6.27
#21687F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21687F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21687F#FFFFFF#000000##FFFFFF
##21687F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21687f;
/* rgb */ color: rgb(33, 104, 127);
/* oklch */ color: oklch(48.4% 0.077 223.7);
Tailwind
colors: {
  custom: {
    50: '#6a93a4',
    500: '#21687f',
    950: '#000000',
  },
}
SCSS
$custom: #21687f;
$custom-light: #6a93a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21687f",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 127
  },
  "hsl": {
    "h": 194.681,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.07744,
    "h": 223.7
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#21687F
secondary
#B2634A
accent
#6C46E2
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #21687F

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

Preview Lab → · Contrast checker → · Palette generator →

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