#21678D#21678D

#21678D is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.9% C 0.091 H 237.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#21678D
RGBrgb(33, 103, 141)
HSLhsl(201, 62%, 34%)
HSVhsv(201, 77%, 55%)
CMYKcmyk(76.6%, 27%, 0%, 44.7%)
CIE-LABlab(41.13, -8.00, -27.09)
CIE-LCHlch(41.13, 28.24, 253.55°)
OKLaboklab(48.88% -0.0496 -0.0764)
OKLCHoklch(48.88% 0.091 237)
XYZxyz(10.2833, 11.9457, 26.9579)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21678D #8D4721
analogous
#218D7D #21678D #21318D
triadic
#21678D #8D2167 #678D21
tetradic
#21678D #7D218D #8D4721 #318D21
square
#21678D #7D218D #8D4721 #318D21
split-complementary
#21678D #8D2131 #8D7D21
monochromatic
#0A1F2A #15435B #21678D #2D8BBF #52A8D6

Accessibility & contrast

On white

6.20
#21678D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#21678D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21678D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21678D#FFFFFF#000000##FFFFFF
##21678D1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#007174
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21678d;
/* rgb */ color: rgb(33, 103, 141);
/* oklch */ color: oklch(48.9% 0.091 237.0);
Tailwind
colors: {
  custom: {
    50: '#6d92ae',
    500: '#21678d',
    950: '#000000',
  },
}
SCSS
$custom: #21678d;
$custom-light: #6d92ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21678d",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 141
  },
  "hsl": {
    "h": 201.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.09111,
    "h": 237
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#21678D
secondary
#BA7550
accent
#7C43E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #21678D

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

Preview Lab → · Contrast checker → · Palette generator →

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