#21627D#21627D

#21627D is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.8% C 0.078 H 229.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#21627D
RGBrgb(33, 98, 125)
HSLhsl(198, 58%, 31%)
HSVhsv(198, 74%, 49%)
CMYKcmyk(73.6%, 21.6%, 0%, 51%)
CIE-LABlab(38.79, -10.88, -21.04)
CIE-LCHlch(38.79, 23.68, 242.66°)
OKLaboklab(46.77% -0.0503 -0.059)
OKLCHoklch(46.77% 0.078 229.5)
XYZxyz(8.6951, 10.5384, 20.9739)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21627D #7D3C21
analogous
#217D6A #21627D #21347D
triadic
#21627D #7D2162 #627D21
tetradic
#21627D #6A217D #7D3C21 #347D21
square
#21627D #6A217D #7D3C21 #347D21
split-complementary
#21627D #7D2134 #7D6A21
monochromatic
#07161C #143C4D #21627D #2E88AD #49A8CF

Accessibility & contrast

On white

6.76
#21627D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#21627D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21627D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21627D#FFFFFF#000000##FFFFFF
##21627D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#48577D
Tritanopia (blue-blind)
#006A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21627d;
/* rgb */ color: rgb(33, 98, 125);
/* oklch */ color: oklch(46.8% 0.078 229.5);
Tailwind
colors: {
  custom: {
    50: '#6a8ea2',
    500: '#21627d',
    950: '#000000',
  },
}
SCSS
$custom: #21627d;
$custom-light: #6a8ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#21627d",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 125
  },
  "hsl": {
    "h": 197.609,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.07756,
    "h": 229.5
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#21627D
secondary
#B0684A
accent
#7446E1
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #21627D

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

Preview Lab → · Contrast checker → · Palette generator →

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