#21379A#21379A

#21379A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.163 H 267.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#21379A
RGBrgb(33, 55, 154)
HSLhsl(229, 65%, 37%)
HSVhsv(229, 79%, 60%)
CMYKcmyk(78.6%, 64.3%, 0%, 39.6%)
CIE-LABlab(27.81, 28.66, -56.31)
CIE-LCHlch(27.81, 63.18, 296.97°)
OKLaboklab(38.88% -0.0058 -0.1629)
OKLCHoklch(38.88% 0.163 267.9)
XYZxyz(7.8241, 5.3879, 31.1932)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21379A #9A8421
analogous
#21749A #21379A #48219A
triadic
#21379A #9A2137 #379A21
tetradic
#21379A #9A2174 #9A8421 #219A48
square
#21379A #9A2174 #9A8421 #219A48
split-complementary
#21379A #9A4821 #749A21
monochromatic
#0B1335 #162568 #21379A #2C49CC #5A71DC

Accessibility & contrast

On white

10.11
#21379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#21379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21379A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21379A#FFFFFF#000000##FFFFFF
##21379A1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21379a;
/* rgb */ color: rgb(33, 55, 154);
/* oklch */ color: oklch(38.9% 0.163 267.9);
Tailwind
colors: {
  custom: {
    50: '#716db9',
    500: '#21379a',
    950: '#000000',
  },
}
SCSS
$custom: #21379a;
$custom-light: #716db9;
$custom-dark: #000000;
JSON
{
  "hex": "#21379a",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 229.091,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38884,
    "c": 0.16297,
    "h": 267.9
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#21379A
secondary
#C0AD57
accent
#C940E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #21379A

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

Preview Lab → · Contrast checker → · Palette generator →

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