#21344C#21344C

#21344C is a dark, muted cyan. Relative luminance 0.033; OKLCH L 32.1% C 0.050 H 254.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#21344C
RGBrgb(33, 52, 76)
HSLhsl(213, 39%, 21%)
HSVhsv(213, 57%, 30%)
CMYKcmyk(56.6%, 31.6%, 0%, 70.2%)
CIE-LABlab(21.21, 0.37, -17.12)
CIE-LCHlch(21.21, 17.12, 271.24°)
OKLaboklab(32.07% -0.0131 -0.048)
OKLCHoklch(32.07% 0.05 254.8)
XYZxyz(3.1592, 3.3009, 7.3067)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21344C #4C3921
analogous
#214A4C #21344C #24214C
triadic
#21344C #4C2134 #344C21
tetradic
#21344C #4C214A #4C3921 #214C24
square
#21344C #4C214A #4C3921 #214C24
split-complementary
#21344C #4C2421 #4A4C21
monochromatic
#090F15 #0E1721 #21344C #345177 #466EA1

Accessibility & contrast

On white

12.65
#21344C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#21344C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21344C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21344C#FFFFFF#000000##FFFFFF
##21344C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354D
Deuteranopia (green-blind)
#25314C
Tritanopia (blue-blind)
#0C393C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #21344c;
/* rgb */ color: rgb(33, 52, 76);
/* oklch */ color: oklch(32.1% 0.050 254.8);
Tailwind
colors: {
  custom: {
    50: '#5f6b7e',
    500: '#21344c',
    950: '#000000',
  },
}
SCSS
$custom: #21344c;
$custom-light: #5f6b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21344c",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 76
  },
  "hsl": {
    "h": 213.488,
    "s": 39.45,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32065,
    "c": 0.04975,
    "h": 254.8
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#21344C
secondary
#806849
accent
#9B58CF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #21344C

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

Preview Lab → · Contrast checker → · Palette generator →

#21344C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva