#21456B#21456B

#21456B is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.3% C 0.077 H 251.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#21456B
RGBrgb(33, 69, 107)
HSLhsl(211, 53%, 27%)
HSVhsv(211, 69%, 42%)
CMYKcmyk(69.2%, 35.5%, 0%, 58%)
CIE-LABlab(28.49, 0.56, -25.92)
CIE-LCHlch(28.49, 25.93, 271.23°)
OKLaboklab(38.32% -0.0244 -0.0734)
OKLCHoklch(38.32% 0.077 251.6)
XYZxyz(5.4082, 5.6406, 14.7108)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21456B #6B4721
analogous
#216A6B #21456B #22216B
triadic
#21456B #6B2145 #456B21
tetradic
#21456B #6B216A #6B4721 #216B22
square
#21456B #6B216A #6B4721 #216B22
split-complementary
#21456B #6B2221 #6A6B21
monochromatic
#070F17 #13273C #21456B #2F639A #4281C5

Accessibility & contrast

On white

9.87
#21456B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#21456B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21456B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21456B#FFFFFF#000000##FFFFFF
##21456B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#004E53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #21456b;
/* rgb */ color: rgb(33, 69, 107);
/* oklch */ color: oklch(38.3% 0.077 251.6);
Tailwind
colors: {
  custom: {
    50: '#657895',
    500: '#21456b',
    950: '#000000',
  },
}
SCSS
$custom: #21456b;
$custom-light: #657895;
$custom-dark: #000000;
JSON
{
  "hex": "#21456b",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 107
  },
  "hsl": {
    "h": 210.811,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.07738,
    "h": 251.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#21456B
secondary
#9F7549
accent
#964CDC
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #21456B

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

Preview Lab → · Contrast checker → · Palette generator →

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