#21456D#21456D

#21456D is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.4% C 0.080 H 252.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#21456D
RGBrgb(33, 69, 109)
HSLhsl(212, 54%, 28%)
HSVhsv(212, 70%, 43%)
CMYKcmyk(69.7%, 36.7%, 0%, 57.3%)
CIE-LABlab(28.60, 1.33, -27.02)
CIE-LCHlch(28.60, 27.05, 272.82°)
OKLaboklab(38.44% -0.0238 -0.0766)
OKLCHoklch(38.44% 0.08 252.7)
XYZxyz(5.5146, 5.6831, 15.2714)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21456D #6D4921
analogous
#216B6D #21456D #23216D
triadic
#21456D #6D2145 #456D21
tetradic
#21456D #6D216B #6D4921 #216D23
square
#21456D #6D216B #6D4921 #216D23
split-complementary
#21456D #6D2321 #6B6D21
monochromatic
#070F17 #13273E #21456D #2F639C #4281C6

Accessibility & contrast

On white

9.83
#21456D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21456D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21456D#FFFFFF#000000##FFFFFF
##21456D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#29406C
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #21456d;
/* rgb */ color: rgb(33, 69, 109);
/* oklch */ color: oklch(38.4% 0.080 252.7);
Tailwind
colors: {
  custom: {
    50: '#657897',
    500: '#21456d',
    950: '#000000',
  },
}
SCSS
$custom: #21456d;
$custom-light: #657897;
$custom-dark: #000000;
JSON
{
  "hex": "#21456d",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 109
  },
  "hsl": {
    "h": 211.579,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.08024,
    "h": 252.7
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#21456D
secondary
#A17749
accent
#984BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21456D

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

Preview Lab → · Contrast checker → · Palette generator →

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