#21547E#21547E

#21547E is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.088 H 246.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#21547E
RGBrgb(33, 84, 126)
HSLhsl(207, 58%, 31%)
HSVhsv(207, 74%, 49%)
CMYKcmyk(73.8%, 33.3%, 0%, 50.6%)
CIE-LABlab(34.33, -1.91, -28.61)
CIE-LCHlch(34.33, 28.68, 266.19°)
OKLaboklab(43.25% -0.0349 -0.0811)
OKLCHoklch(43.25% 0.088 246.7)
XYZxyz(7.5620, 8.1695, 20.9130)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21547E #7E4B21
analogous
#217E79 #21547E #21257E
triadic
#21547E #7E2154 #547E21
tetradic
#21547E #79217E #7E4B21 #257E21
square
#21547E #79217E #7E4B21 #257E21
split-complementary
#21547E #7E2125 #7E7921
monochromatic
#08131D #14344E #21547E #2E74AE #4A93D0

Accessibility & contrast

On white

7.97
#21547E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#21547E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21547E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21547E#FFFFFF#000000##FFFFFF
##21547E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21547e;
/* rgb */ color: rgb(33, 84, 126);
/* oklch */ color: oklch(43.3% 0.088 246.7);
Tailwind
colors: {
  custom: {
    50: '#6983a3',
    500: '#21547e',
    950: '#000000',
  },
}
SCSS
$custom: #21547e;
$custom-light: #6983a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21547e",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 126
  },
  "hsl": {
    "h": 207.097,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.08829,
    "h": 246.7
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#21547E
secondary
#B1784A
accent
#8C46E2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21547E

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

Preview Lab → · Contrast checker → · Palette generator →

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