#21508B#21508B

#21508B is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.110 H 255.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#21508B
RGBrgb(33, 80, 139)
HSLhsl(213, 62%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(76.3%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.82, 5.77, -37.41)
CIE-LCHlch(33.82, 37.85, 278.76°)
OKLaboklab(43.09% -0.0274 -0.1069)
OKLCHoklch(43.09% 0.11 255.6)
XYZxyz(8.1543, 7.9238, 25.5208)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21508B #8B5C21
analogous
#21858B #21508B #27218B
triadic
#21508B #8B2150 #508B21
tetradic
#21508B #8B2185 #8B5C21 #218B27
square
#21508B #8B2185 #8B5C21 #218B27
split-complementary
#21508B #8B2721 #858B21
monochromatic
#0A1728 #15345A #21508B #2D6CBC #518CD6

Accessibility & contrast

On white

8.12
#21508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#21508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21508B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21508B#FFFFFF#000000##FFFFFF
##21508B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #21508b;
/* rgb */ color: rgb(33, 80, 139);
/* oklch */ color: oklch(43.1% 0.110 255.6);
Tailwind
colors: {
  custom: {
    50: '#6c80ad',
    500: '#21508b',
    950: '#000000',
  },
}
SCSS
$custom: #21508b;
$custom-light: #6c80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21508b",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 213.396,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.11035,
    "h": 255.6
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#21508B
secondary
#B98A4F
accent
#9D43E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21508B

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

Preview Lab → · Contrast checker → · Palette generator →

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