#21356B#21356B

#21356B is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.097 H 266.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#21356B
RGBrgb(33, 53, 107)
HSLhsl(224, 53%, 27%)
HSVhsv(224, 69%, 42%)
CMYKcmyk(69.2%, 50.5%, 0%, 58%)
CIE-LABlab(23.44, 11.59, -33.96)
CIE-LCHlch(23.44, 35.88, 288.84°)
OKLaboklab(34.41% -0.0066 -0.0972)
OKLCHoklch(34.41% 0.097 266.1)
XYZxyz(4.5532, 3.9306, 14.4258)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21356B #6B5721
analogous
#215A6B #21356B #32216B
triadic
#21356B #6B2135 #356B21
tetradic
#21356B #6B215A #6B5721 #216B32
square
#21356B #6B215A #6B5721 #216B32
split-complementary
#21356B #6B3221 #5A6B21
monochromatic
#070C17 #131E3C #21356B #2F4C9A #4265C5

Accessibility & contrast

On white

11.76
#21356B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#21356B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21356B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21356B#FFFFFF#000000##FFFFFF
##21356B1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6D
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21356b;
/* rgb */ color: rgb(33, 53, 107);
/* oklch */ color: oklch(34.4% 0.097 266.1);
Tailwind
colors: {
  custom: {
    50: '#656b96',
    500: '#21356b',
    950: '#000000',
  },
}
SCSS
$custom: #21356b;
$custom-light: #656b96;
$custom-dark: #000000;
JSON
{
  "hex": "#21356b",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 107
  },
  "hsl": {
    "h": 223.784,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.09745,
    "h": 266.1
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#21356B
secondary
#9F8849
accent
#B54CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #21356B

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

Preview Lab → · Contrast checker → · Palette generator →

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