#21678F#21678F

#21678F is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.0% C 0.093 H 238.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#21678F
RGBrgb(33, 103, 143)
HSLhsl(202, 63%, 35%)
HSVhsv(202, 77%, 56%)
CMYKcmyk(76.9%, 28%, 0%, 43.9%)
CIE-LABlab(41.23, -7.26, -28.14)
CIE-LCHlch(41.23, 29.06, 255.54°)
OKLaboklab(48.98% -0.0489 -0.0795)
OKLCHoklch(48.98% 0.093 238.4)
XYZxyz(10.4334, 12.0058, 27.7487)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21678F #8F4921
analogous
#218F80 #21678F #21308F
triadic
#21678F #8F2167 #678F21
tetradic
#21678F #80218F #8F4921 #308F21
square
#21678F #80218F #8F4921 #308F21
split-complementary
#21678F #8F2130 #8F8021
monochromatic
#0A1F2C #16435D #21678F #2C8BC1 #53A7D7

Accessibility & contrast

On white

6.17
#21678F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#21678F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21678F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21678F#FFFFFF#000000##FFFFFF
##21678F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#455D8E
Tritanopia (blue-blind)
#007175
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21678f;
/* rgb */ color: rgb(33, 103, 143);
/* oklch */ color: oklch(49.0% 0.093 238.4);
Tailwind
colors: {
  custom: {
    50: '#6d92b0',
    500: '#21678f',
    950: '#000000',
  },
}
SCSS
$custom: #21678f;
$custom-light: #6d92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21678f",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 143
  },
  "hsl": {
    "h": 201.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.0933,
    "h": 238.4
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#21678F
secondary
#BB7751
accent
#7E42E6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #21678F

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

Preview Lab → · Contrast checker → · Palette generator →

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