#21678E#21678E

#21678E is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.092 H 237.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#21678E
RGBrgb(33, 103, 142)
HSLhsl(201, 62%, 34%)
HSVhsv(201, 77%, 56%)
CMYKcmyk(76.8%, 27.5%, 0%, 44.3%)
CIE-LABlab(41.18, -7.63, -27.61)
CIE-LCHlch(41.18, 28.65, 254.56°)
OKLaboklab(48.93% -0.0492 -0.0779)
OKLCHoklch(48.93% 0.092 237.7)
XYZxyz(10.3580, 11.9756, 27.3516)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21678E #8E4821
analogous
#218E7F #21678E #21318E
triadic
#21678E #8E2167 #678E21
tetradic
#21678E #7F218E #8E4821 #318E21
square
#21678E #7F218E #8E4821 #318E21
split-complementary
#21678E #8E2131 #8E7F21
monochromatic
#0A1F2B #15435C #21678E #2D8BC0 #52A8D7

Accessibility & contrast

On white

6.18
#21678E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21678E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21678E#FFFFFF#000000##FFFFFF
##21678E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#465D8D
Tritanopia (blue-blind)
#007174
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21678e;
/* rgb */ color: rgb(33, 103, 142);
/* oklch */ color: oklch(48.9% 0.092 237.7);
Tailwind
colors: {
  custom: {
    50: '#6d92af',
    500: '#21678e',
    950: '#000000',
  },
}
SCSS
$custom: #21678e;
$custom-light: #6d92af;
$custom-dark: #000000;
JSON
{
  "hex": "#21678e",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 142
  },
  "hsl": {
    "h": 201.468,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.0922,
    "h": 237.7
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#21678E
secondary
#BA7650
accent
#7D42E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #21678E

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

Preview Lab → · Contrast checker → · Palette generator →

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