#21628E#21628E

#21628E is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.7% C 0.096 H 242.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#21628E
RGBrgb(33, 98, 142)
HSLhsl(204, 62%, 34%)
HSVhsv(204, 77%, 56%)
CMYKcmyk(76.8%, 31%, 0%, 44.3%)
CIE-LABlab(39.60, -4.59, -30.09)
CIE-LCHlch(39.60, 30.43, 261.33°)
OKLaboklab(47.68% -0.0442 -0.0852)
OKLCHoklch(47.68% 0.096 242.6)
XYZxyz(9.8755, 11.0105, 27.1907)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21628E #8E4D21
analogous
#218E84 #21628E #212C8E
triadic
#21628E #8E2162 #628E21
tetradic
#21628E #84218E #8E4D21 #2C8E21
square
#21628E #84218E #8E4D21 #2C8E21
split-complementary
#21628E #8E212C #8E8421
monochromatic
#0A1D2B #15405C #21628E #2D84C0 #52A1D7

Accessibility & contrast

On white

6.56
#21628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#21628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21628E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21628E#FFFFFF#000000##FFFFFF
##21628E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#3F598D
Tritanopia (blue-blind)
#006D72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #21628e;
/* rgb */ color: rgb(33, 98, 142);
/* oklch */ color: oklch(47.7% 0.096 242.6);
Tailwind
colors: {
  custom: {
    50: '#6d8eaf',
    500: '#21628e',
    950: '#000000',
  },
}
SCSS
$custom: #21628e;
$custom-light: #6d8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#21628e",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 204.22,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.09597,
    "h": 242.6
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#21628E
secondary
#BA7B50
accent
#8442E5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #21628E

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

Preview Lab → · Contrast checker → · Palette generator →

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