#21456F#21456F

#21456F is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.6% C 0.083 H 253.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#21456F
RGBrgb(33, 69, 111)
HSLhsl(212, 54%, 28%)
HSVhsv(212, 70%, 44%)
CMYKcmyk(70.3%, 37.8%, 0%, 56.5%)
CIE-LABlab(28.71, 2.11, -28.11)
CIE-LCHlch(28.71, 28.19, 274.29°)
OKLaboklab(38.57% -0.0232 -0.0798)
OKLCHoklch(38.57% 0.083 253.8)
XYZxyz(5.6235, 5.7267, 15.8448)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21456F #6F4B21
analogous
#216C6F #21456F #24216F
triadic
#21456F #6F2145 #456F21
tetradic
#21456F #6F216C #6F4B21 #216F24
square
#21456F #6F216C #6F4B21 #216F24
split-complementary
#21456F #6F2421 #6C6F21
monochromatic
#070F18 #132840 #21456F #2F629E #4380C7

Accessibility & contrast

On white

9.79
#21456F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#21456F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21456F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21456F#FFFFFF#000000##FFFFFF
##21456F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#27406E
Tritanopia (blue-blind)
#004F54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21456f;
/* rgb */ color: rgb(33, 69, 111);
/* oklch */ color: oklch(38.6% 0.083 253.8);
Tailwind
colors: {
  custom: {
    50: '#667898',
    500: '#21456f',
    950: '#000000',
  },
}
SCSS
$custom: #21456f;
$custom-light: #667898;
$custom-dark: #000000;
JSON
{
  "hex": "#21456f",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 212.308,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38568,
    "c": 0.08312,
    "h": 253.8
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#21456F
secondary
#A37949
accent
#9A4ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #21456F

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

Preview Lab → · Contrast checker → · Palette generator →

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