#21627F#21627F

#21627F is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 46.9% C 0.079 H 231.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#21627F
RGBrgb(33, 98, 127)
HSLhsl(199, 59%, 31%)
HSVhsv(199, 74%, 50%)
CMYKcmyk(74%, 22.8%, 0%, 50.2%)
CIE-LABlab(38.88, -10.15, -22.12)
CIE-LCHlch(38.88, 24.34, 245.34°)
OKLaboklab(46.87% -0.0495 -0.0621)
OKLCHoklch(46.87% 0.079 231.4)
XYZxyz(8.8241, 10.5900, 21.6536)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21627F #7F3E21
analogous
#217F6D #21627F #21337F
triadic
#21627F #7F2162 #627F21
tetradic
#21627F #6D217F #7F3E21 #337F21
square
#21627F #6D217F #7F3E21 #337F21
split-complementary
#21627F #7F2133 #7F6D21
monochromatic
#08171E #143D4E #21627F #2E87B0 #4AA7D0

Accessibility & contrast

On white

6.73
#21627F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#21627F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21627F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21627F#FFFFFF#000000##FFFFFF
##21627F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536180
Deuteranopia (green-blind)
#47587F
Tritanopia (blue-blind)
#006A6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #21627f;
/* rgb */ color: rgb(33, 98, 127);
/* oklch */ color: oklch(46.9% 0.079 231.4);
Tailwind
colors: {
  custom: {
    50: '#6a8ea4',
    500: '#21627f',
    950: '#000000',
  },
}
SCSS
$custom: #21627f;
$custom-light: #6a8ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#21627f",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 127
  },
  "hsl": {
    "h": 198.511,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.07946,
    "h": 231.4
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#21627F
secondary
#B26A4A
accent
#7646E2
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #21627F

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

Preview Lab → · Contrast checker → · Palette generator →

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