#21379E#21379E

#21379E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.168 H 268.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#21379E
RGBrgb(33, 55, 158)
HSLhsl(229, 65%, 37%)
HSVhsv(229, 79%, 62%)
CMYKcmyk(79.1%, 65.2%, 0%, 38%)
CIE-LABlab(28.18, 30.18, -58.14)
CIE-LCHlch(28.18, 65.51, 297.43°)
OKLaboklab(39.27% -0.006 -0.1682)
OKLCHoklch(39.27% 0.168 268)
XYZxyz(8.1628, 5.5234, 32.9770)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21379E #9E8821
analogous
#21769E #21379E #4A219E
triadic
#21379E #9E2137 #379E21
tetradic
#21379E #9E2176 #9E8821 #219E4A
square
#21379E #9E2176 #9E8821 #219E4A
split-complementary
#21379E #9E4A21 #769E21
monochromatic
#0C1439 #16256B #21379E #2C49D1 #5C73DD

Accessibility & contrast

On white

9.98
#21379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#21379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21379E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21379E#FFFFFF#000000##FFFFFF
##21379E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21379e;
/* rgb */ color: rgb(33, 55, 158);
/* oklch */ color: oklch(39.3% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#726dbc',
    500: '#21379e',
    950: '#000000',
  },
}
SCSS
$custom: #21379e;
$custom-light: #726dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#21379e",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 229.44,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39265,
    "c": 0.16836,
    "h": 268
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#21379E
secondary
#C1AF59
accent
#CB3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21379E

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

Preview Lab → · Contrast checker → · Palette generator →

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