#21667F#21667F

#21667F is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 47.9% C 0.078 H 226.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#21667F
RGBrgb(33, 102, 127)
HSLhsl(196, 59%, 31%)
HSVhsv(196, 74%, 50%)
CMYKcmyk(74%, 19.7%, 0%, 50.2%)
CIE-LABlab(40.18, -12.50, -20.11)
CIE-LCHlch(40.18, 23.68, 238.14°)
OKLaboklab(47.91% -0.0539 -0.0563)
OKLCHoklch(47.91% 0.078 226.3)
XYZxyz(9.2078, 11.3573, 21.7815)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21667F #7F3A21
analogous
#217F69 #21667F #21377F
triadic
#21667F #7F2166 #667F21
tetradic
#21667F #69217F #7F3A21 #377F21
square
#21667F #69217F #7F3A21 #377F21
split-complementary
#21667F #7F2137 #7F6921
monochromatic
#08181E #143F4E #21667F #2E8DB0 #4AACD0

Accessibility & contrast

On white

6.42
#21667F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#21667F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21667F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21667F#FFFFFF#000000##FFFFFF
##21667F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586480
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#006D6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #21667f;
/* rgb */ color: rgb(33, 102, 127);
/* oklch */ color: oklch(47.9% 0.078 226.3);
Tailwind
colors: {
  custom: {
    50: '#6a91a4',
    500: '#21667f',
    950: '#000000',
  },
}
SCSS
$custom: #21667f;
$custom-light: #6a91a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21667f",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 127
  },
  "hsl": {
    "h": 195.957,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.07794,
    "h": 226.3
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#21667F
secondary
#B2664A
accent
#6F46E2
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #21667F

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

Preview Lab → · Contrast checker → · Palette generator →

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