#21359B#21359B

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

Color values

HEX#21359B
RGBrgb(33, 53, 155)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 61%)
CMYKcmyk(78.7%, 65.8%, 0%, 39.2%)
CIE-LABlab(27.39, 30.37, -57.60)
CIE-LCHlch(27.39, 65.12, 297.80°)
OKLaboklab(38.61% -0.0047 -0.1667)
OKLCHoklch(38.61% 0.167 268.4)
XYZxyz(7.8146, 5.2352, 31.6026)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21359B #9B8721
analogous
#21729B #21359B #4A219B
triadic
#21359B #9B2135 #359B21
tetradic
#21359B #9B2172 #9B8721 #219B4A
square
#21359B #9B2172 #9B8721 #219B4A
split-complementary
#21359B #9B4A21 #729B21
monochromatic
#0C1236 #162469 #21359B #2C46CD #5A70DC

Accessibility & contrast

On white

10.26
#21359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#21359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21359B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21359B#FFFFFF#000000##FFFFFF
##21359B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #21359b;
/* rgb */ color: rgb(33, 53, 155);
/* oklch */ color: oklch(38.6% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#716cb9',
    500: '#21359b',
    950: '#000000',
  },
}
SCSS
$custom: #21359b;
$custom-light: #716cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21359b",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 230.164,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.16674,
    "h": 268.4
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21359B

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

Preview Lab → · Contrast checker → · Palette generator →

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