#21628B#21628B

#21628B is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.5% C 0.092 H 240.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#21628B
RGBrgb(33, 98, 139)
HSLhsl(203, 62%, 34%)
HSVhsv(203, 76%, 55%)
CMYKcmyk(76.3%, 29.5%, 0%, 45.5%)
CIE-LABlab(39.45, -5.72, -28.51)
CIE-LCHlch(39.45, 29.08, 258.66°)
OKLaboklab(47.51% -0.0452 -0.0806)
OKLCHoklch(47.51% 0.092 240.7)
XYZxyz(9.6533, 10.9217, 26.0204)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21628B #8B4A21
analogous
#218B7F #21628B #212D8B
triadic
#21628B #8B2162 #628B21
tetradic
#21628B #7F218B #8B4A21 #2D8B21
square
#21628B #7F218B #8B4A21 #2D8B21
split-complementary
#21628B #8B212D #8B7F21
monochromatic
#0A1C28 #153F5A #21628B #2D85BC #51A2D6

Accessibility & contrast

On white

6.59
#21628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#21628B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21628B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21628B#FFFFFF#000000##FFFFFF
##21628B1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628D
Deuteranopia (green-blind)
#40588A
Tritanopia (blue-blind)
#006C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #21628b;
/* rgb */ color: rgb(33, 98, 139);
/* oklch */ color: oklch(47.5% 0.092 240.7);
Tailwind
colors: {
  custom: {
    50: '#6c8ead',
    500: '#21628b',
    950: '#000000',
  },
}
SCSS
$custom: #21628b;
$custom-light: #6c8ead;
$custom-dark: #000000;
JSON
{
  "hex": "#21628b",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 203.208,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.09241,
    "h": 240.7
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#21628B
secondary
#B9784F
accent
#8243E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #21628B

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

Preview Lab → · Contrast checker → · Palette generator →

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