#21359F#21359F

#21359F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.172 H 268.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#21359F
RGBrgb(33, 53, 159)
HSLhsl(230, 66%, 38%)
HSVhsv(230, 79%, 62%)
CMYKcmyk(79.2%, 66.7%, 0%, 37.6%)
CIE-LABlab(27.77, 31.88, -59.42)
CIE-LCHlch(27.77, 67.43, 298.21°)
OKLaboklab(38.99% -0.0049 -0.172)
OKLCHoklch(38.99% 0.172 268.4)
XYZxyz(8.1561, 5.3718, 33.4012)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21359F #9F8B21
analogous
#21749F #21359F #4C219F
triadic
#21359F #9F2135 #359F21
tetradic
#21359F #9F2174 #9F8B21 #219F4C
square
#21359F #9F2174 #9F8B21 #219F4C
split-complementary
#21359F #9F4C21 #749F21
monochromatic
#0C133A #16246C #21359F #2C46D2 #5D71DD

Accessibility & contrast

On white

10.12
#21359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#21359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21359F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21359F#FFFFFF#000000##FFFFFF
##21359F1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21359f;
/* rgb */ color: rgb(33, 53, 159);
/* oklch */ color: oklch(39.0% 0.172 268.4);
Tailwind
colors: {
  custom: {
    50: '#726cbc',
    500: '#21359f',
    950: '#000000',
  },
}
SCSS
$custom: #21359f;
$custom-light: #726cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#21359f",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 230.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.17207,
    "h": 268.4
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#21359F
secondary
#C2B15A
accent
#CE3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21359F

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

Preview Lab → · Contrast checker → · Palette generator →

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