#21678C#21678C

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

Color values

HEX#21678C
RGBrgb(33, 103, 140)
HSLhsl(201, 62%, 34%)
HSVhsv(201, 76%, 55%)
CMYKcmyk(76.4%, 26.4%, 0%, 45.1%)
CIE-LABlab(41.08, -8.37, -26.56)
CIE-LCHlch(41.08, 27.85, 252.51°)
OKLaboklab(48.82% -0.05 -0.0749)
OKLCHoklch(48.82% 0.09 236.3)
XYZxyz(10.2092, 11.9161, 26.5678)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21678C #8C4621
analogous
#218C7C #21678C #21318C
triadic
#21678C #8C2167 #678C21
tetradic
#21678C #7C218C #8C4621 #318C21
square
#21678C #7C218C #8C4621 #318C21
split-complementary
#21678C #8C2131 #8C7C21
monochromatic
#0A1E29 #15435A #21678C #2D8BBE #51A8D6

Accessibility & contrast

On white

6.21
#21678C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21678C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21678C#FFFFFF#000000##FFFFFF
##21678C1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678E
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#007174
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21678c;
/* rgb */ color: rgb(33, 103, 140);
/* oklch */ color: oklch(48.8% 0.090 236.3);
Tailwind
colors: {
  custom: {
    50: '#6c92ad',
    500: '#21678c',
    950: '#000000',
  },
}
SCSS
$custom: #21678c;
$custom-light: #6c92ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21678c",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 140
  },
  "hsl": {
    "h": 200.748,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.09003,
    "h": 236.3
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#21678C
secondary
#B9744F
accent
#7B43E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #21678C

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

Preview Lab → · Contrast checker → · Palette generator →

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