#21355C#21355C

#21355C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.074 H 262.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#21355C
RGBrgb(33, 53, 92)
HSLhsl(220, 47%, 25%)
HSVhsv(220, 64%, 36%)
CMYKcmyk(64.1%, 42.4%, 0%, 63.9%)
CIE-LABlab(22.45, 5.70, -25.78)
CIE-LCHlch(22.45, 26.40, 282.48°)
OKLaboklab(33.33% -0.0096 -0.0732)
OKLCHoklch(33.33% 0.074 262.6)
XYZxyz(3.8314, 3.6419, 10.6242)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21355C #5C4821
analogous
#21535C #21355C #2B215C
triadic
#21355C #5C2135 #355C21
tetradic
#21355C #5C2153 #5C4821 #215C2B
square
#21355C #5C2153 #5C4821 #215C2B
split-complementary
#21355C #5C2B21 #535C21
monochromatic
#080D17 #111B2F #21355C #314F89 #4169B6

Accessibility & contrast

On white

12.15
#21355C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#21355C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21355C
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21355C#FFFFFF#000000##FFFFFF
##21355C1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#1C335B
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #21355c;
/* rgb */ color: rgb(33, 53, 92);
/* oklch */ color: oklch(33.3% 0.074 262.6);
Tailwind
colors: {
  custom: {
    50: '#626b8a',
    500: '#21355c',
    950: '#000000',
  },
}
SCSS
$custom: #21355c;
$custom-light: #626b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#21355c",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 92
  },
  "hsl": {
    "h": 219.661,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.07384,
    "h": 262.6
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#21355C
secondary
#907849
accent
#A951D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #21355C

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

Preview Lab → · Contrast checker → · Palette generator →

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