#21405E#21405E

#21405E is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.3% C 0.064 H 249.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#21405E
RGBrgb(33, 64, 94)
HSLhsl(210, 48%, 25%)
HSVhsv(210, 65%, 37%)
CMYKcmyk(64.9%, 31.9%, 0%, 63.1%)
CIE-LABlab(26.15, -1.07, -21.25)
CIE-LCHlch(26.15, 21.28, 267.12°)
OKLaboklab(36.25% -0.0226 -0.0599)
OKLCHoklch(36.25% 0.064 249.3)
XYZxyz(4.4802, 4.7979, 11.2775)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21405E #5E3F21
analogous
#215E5D #21405E #21225E
triadic
#21405E #5E2140 #405E21
tetradic
#21405E #5D215E #5E3F21 #225E21
square
#21405E #5D215E #5E3F21 #225E21
split-complementary
#21405E #5E2122 #5E5D21
monochromatic
#080F17 #112131 #21405E #315F8B #417EB9

Accessibility & contrast

On white

10.72
#21405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#21405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21405E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21405E#FFFFFF#000000##FFFFFF
##21405E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#2B3B5D
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21405e;
/* rgb */ color: rgb(33, 64, 94);
/* oklch */ color: oklch(36.3% 0.064 249.3);
Tailwind
colors: {
  custom: {
    50: '#63748c',
    500: '#21405e',
    950: '#000000',
  },
}
SCSS
$custom: #21405e;
$custom-light: #63748c;
$custom-dark: #000000;
JSON
{
  "hex": "#21405e",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 209.508,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.06403,
    "h": 249.3
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#21405E
secondary
#926D49
accent
#9350D8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #21405E

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

Preview Lab → · Contrast checker → · Palette generator →

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