#21456E#21456E

#21456E is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.082 H 253.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#21456E
RGBrgb(33, 69, 110)
HSLhsl(212, 54%, 28%)
HSVhsv(212, 70%, 43%)
CMYKcmyk(70%, 37.3%, 0%, 56.9%)
CIE-LABlab(28.66, 1.72, -27.56)
CIE-LCHlch(28.66, 27.62, 273.57°)
OKLaboklab(38.51% -0.0235 -0.0782)
OKLCHoklch(38.51% 0.082 253.3)
XYZxyz(5.5688, 5.7048, 15.5565)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21456E #6E4A21
analogous
#216B6E #21456E #23216E
triadic
#21456E #6E2145 #456E21
tetradic
#21456E #6E216B #6E4A21 #216E23
square
#21456E #6E216B #6E4A21 #216E23
split-complementary
#21456E #6E2321 #6B6E21
monochromatic
#070F18 #13273F #21456E #2F639D #4380C7

Accessibility & contrast

On white

9.81
#21456E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#21456E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21456E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21456E#FFFFFF#000000##FFFFFF
##21456E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334870
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#004F54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21456e;
/* rgb */ color: rgb(33, 69, 110);
/* oklch */ color: oklch(38.5% 0.082 253.3);
Tailwind
colors: {
  custom: {
    50: '#667898',
    500: '#21456e',
    950: '#000000',
  },
}
SCSS
$custom: #21456e;
$custom-light: #667898;
$custom-dark: #000000;
JSON
{
  "hex": "#21456e",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 211.948,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.08168,
    "h": 253.3
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#21456E
secondary
#A27849
accent
#994BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21456E

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

Preview Lab → · Contrast checker → · Palette generator →

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