#21366A#21366A

#21366A is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.095 H 265.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#21366A
RGBrgb(33, 54, 106)
HSLhsl(223, 53%, 27%)
HSVhsv(223, 69%, 42%)
CMYKcmyk(68.9%, 49.1%, 0%, 58.4%)
CIE-LABlab(23.68, 10.49, -32.93)
CIE-LCHlch(23.68, 34.56, 287.66°)
OKLaboklab(34.57% -0.0078 -0.0942)
OKLCHoklch(34.57% 0.095 265.3)
XYZxyz(4.5470, 4.0018, 14.1657)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21366A #6A5521
analogous
#215A6A #21366A #31216A
triadic
#21366A #6A2136 #366A21
tetradic
#21366A #6A215A #6A5521 #216A31
square
#21366A #6A215A #6A5521 #216A31
split-complementary
#21366A #6A3121 #5A6A21
monochromatic
#070C17 #121E3B #21366A #304E99 #4167C4

Accessibility & contrast

On white

11.66
#21366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#21366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21366A
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21366A#FFFFFF#000000##FFFFFF
##21366A1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#0E3569
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21366a;
/* rgb */ color: rgb(33, 54, 106);
/* oklch */ color: oklch(34.6% 0.095 265.3);
Tailwind
colors: {
  custom: {
    50: '#656c95',
    500: '#21366a',
    950: '#000000',
  },
}
SCSS
$custom: #21366a;
$custom-light: #656c95;
$custom-dark: #000000;
JSON
{
  "hex": "#21366a",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 222.74,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.09452,
    "h": 265.3
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#21366A
secondary
#9E8549
accent
#B24CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21366A

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

Preview Lab → · Contrast checker → · Palette generator →

#21366A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva