#21359A#21359A

#21359A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.165 H 268.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#21359A
RGBrgb(33, 53, 154)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 60%)
CMYKcmyk(78.6%, 65.6%, 0%, 39.6%)
CIE-LABlab(27.30, 29.99, -57.14)
CIE-LCHlch(27.30, 64.53, 297.69°)
OKLaboklab(38.51% -0.0046 -0.1653)
OKLCHoklch(38.51% 0.165 268.4)
XYZxyz(7.7310, 5.2018, 31.1622)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21359A #9A8621
analogous
#21729A #21359A #4A219A
triadic
#21359A #9A2135 #359A21
tetradic
#21359A #9A2172 #9A8621 #219A4A
square
#21359A #9A2172 #9A8621 #219A4A
split-complementary
#21359A #9A4A21 #729A21
monochromatic
#0B1235 #162468 #21359A #2C46CC #5A6FDC

Accessibility & contrast

On white

10.29
#21359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#21359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21359A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21359A#FFFFFF#000000##FFFFFF
##21359A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21359a;
/* rgb */ color: rgb(33, 53, 154);
/* oklch */ color: oklch(38.5% 0.165 268.4);
Tailwind
colors: {
  custom: {
    50: '#716cb9',
    500: '#21359a',
    950: '#000000',
  },
}
SCSS
$custom: #21359a;
$custom-light: #716cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21359a",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 230.083,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.1654,
    "h": 268.4
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#21359A
secondary
#C0AE57
accent
#CC40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21359A

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

Preview Lab → · Contrast checker → · Palette generator →

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