#21389A#21389A

#21389A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.162 H 267.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#21389A
RGBrgb(33, 56, 154)
HSLhsl(229, 65%, 37%)
HSVhsv(229, 79%, 60%)
CMYKcmyk(78.6%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.07, 27.99, -55.88)
CIE-LCHlch(28.07, 62.50, 296.60°)
OKLaboklab(39.07% -0.0065 -0.1616)
OKLCHoklch(39.07% 0.162 267.7)
XYZxyz(7.8721, 5.4839, 31.2092)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21389A #9A8321
analogous
#21759A #21389A #47219A
triadic
#21389A #9A2138 #389A21
tetradic
#21389A #9A2175 #9A8321 #219A47
square
#21389A #9A2175 #9A8321 #219A47
split-complementary
#21389A #9A4721 #759A21
monochromatic
#0B1335 #162668 #21389A #2C4ACC #5A72DC

Accessibility & contrast

On white

10.01
#21389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#21389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21389A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21389A#FFFFFF#000000##FFFFFF
##21389A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21389a;
/* rgb */ color: rgb(33, 56, 154);
/* oklch */ color: oklch(39.1% 0.162 267.7);
Tailwind
colors: {
  custom: {
    50: '#716eb9',
    500: '#21389a',
    950: '#000000',
  },
}
SCSS
$custom: #21389a;
$custom-light: #716eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21389a",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 228.595,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.16174,
    "h": 267.7
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#21389A
secondary
#C0AC57
accent
#C840E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #21389A

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

Preview Lab → · Contrast checker → · Palette generator →

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