#21356A#21356A

#21356A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.096 H 266.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#21356A
RGBrgb(33, 53, 106)
HSLhsl(224, 53%, 27%)
HSVhsv(224, 69%, 42%)
CMYKcmyk(68.9%, 50%, 0%, 58.4%)
CIE-LABlab(23.37, 11.19, -33.42)
CIE-LCHlch(23.37, 35.25, 288.51°)
OKLaboklab(34.34% -0.0067 -0.0957)
OKLCHoklch(34.34% 0.096 266)
XYZxyz(4.5009, 3.9097, 14.1503)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21356A #6A5621
analogous
#21596A #21356A #32216A
triadic
#21356A #6A2135 #356A21
tetradic
#21356A #6A2159 #6A5621 #216A32
square
#21356A #6A2159 #6A5621 #216A32
split-complementary
#21356A #6A3221 #596A21
monochromatic
#070C17 #121E3B #21356A #304C99 #4165C4

Accessibility & contrast

On white

11.78
#21356A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#21356A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21356A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21356A#FFFFFF#000000##FFFFFF
##21356A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#0B3569
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21356a;
/* rgb */ color: rgb(33, 53, 106);
/* oklch */ color: oklch(34.3% 0.096 266.0);
Tailwind
colors: {
  custom: {
    50: '#656b95',
    500: '#21356a',
    950: '#000000',
  },
}
SCSS
$custom: #21356a;
$custom-light: #656b95;
$custom-dark: #000000;
JSON
{
  "hex": "#21356a",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 106
  },
  "hsl": {
    "h": 223.562,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.0959,
    "h": 266
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#21356A
secondary
#9E8749
accent
#B44CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #21356A

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

Preview Lab → · Contrast checker → · Palette generator →

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