#21546F#21546F

#21546F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.4% C 0.070 H 235.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#21546F
RGBrgb(33, 84, 111)
HSLhsl(201, 54%, 28%)
HSVhsv(201, 70%, 44%)
CMYKcmyk(70.3%, 24.3%, 0%, 56.5%)
CIE-LABlab(33.59, -7.54, -20.47)
CIE-LCHlch(33.59, 21.81, 249.77°)
OKLaboklab(42.41% -0.0402 -0.0575)
OKLCHoklch(42.41% 0.07 235)
XYZxyz(6.6656, 7.8110, 16.1922)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21546F #6F3C21
analogous
#216F63 #21546F #212D6F
triadic
#21546F #6F2154 #546F21
tetradic
#21546F #63216F #6F3C21 #2D6F21
square
#21546F #63216F #6F3C21 #2D6F21
split-complementary
#21546F #6F212D #6F6321
monochromatic
#071218 #133040 #21546F #2F789E #439AC7

Accessibility & contrast

On white

8.20
#21546F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#21546F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21546F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21546F#FFFFFF#000000##FFFFFF
##21546F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#3C4C6F
Tritanopia (blue-blind)
#005B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #21546f;
/* rgb */ color: rgb(33, 84, 111);
/* oklch */ color: oklch(42.4% 0.070 235.0);
Tailwind
colors: {
  custom: {
    50: '#668498',
    500: '#21546f',
    950: '#000000',
  },
}
SCSS
$custom: #21546f;
$custom-light: #668498;
$custom-dark: #000000;
JSON
{
  "hex": "#21546f",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 111
  },
  "hsl": {
    "h": 200.769,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.07015,
    "h": 235
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#21546F
secondary
#A36849
accent
#7D4ADE
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21546F

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

Preview Lab → · Contrast checker → · Palette generator →

#21546F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva