#21678B#21678B

#21678B is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.8% C 0.089 H 235.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#21678B
RGBrgb(33, 103, 139)
HSLhsl(200, 62%, 34%)
HSVhsv(200, 76%, 55%)
CMYKcmyk(76.3%, 25.9%, 0%, 45.5%)
CIE-LABlab(41.04, -8.74, -26.03)
CIE-LCHlch(41.04, 27.46, 251.45°)
OKLaboklab(48.77% -0.0503 -0.0734)
OKLCHoklch(48.77% 0.089 235.6)
XYZxyz(10.1358, 11.8867, 26.1813)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21678B #8B4521
analogous
#218B7A #21678B #21328B
triadic
#21678B #8B2167 #678B21
tetradic
#21678B #7A218B #8B4521 #328B21
square
#21678B #7A218B #8B4521 #328B21
split-complementary
#21678B #8B2132 #8B7A21
monochromatic
#0A1E28 #15425A #21678B #2D8CBC #51A9D6

Accessibility & contrast

On white

6.22
#21678B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#21678B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21678B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21678B#FFFFFF#000000##FFFFFF
##21678B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668D
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21678b;
/* rgb */ color: rgb(33, 103, 139);
/* oklch */ color: oklch(48.8% 0.089 235.6);
Tailwind
colors: {
  custom: {
    50: '#6c92ad',
    500: '#21678b',
    950: '#000000',
  },
}
SCSS
$custom: #21678b;
$custom-light: #6c92ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21678b",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 139
  },
  "hsl": {
    "h": 200.377,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48769,
    "c": 0.08896,
    "h": 235.6
  },
  "luminance": 0.11888
}

Semantic roles & 50–950 ramp

primary
#21678B
secondary
#B9734F
accent
#7A43E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #21678B

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

Preview Lab → · Contrast checker → · Palette generator →

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