#21377A#21377A

#21377A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.117 H 266.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#21377A
RGBrgb(33, 55, 122)
HSLhsl(225, 57%, 30%)
HSVhsv(225, 73%, 48%)
CMYKcmyk(73%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.14, 16.13, -40.79)
CIE-LCHlch(25.14, 43.87, 291.58°)
OKLaboklab(36.05% -0.0067 -0.1173)
OKLCHoklch(36.05% 0.118 266.7)
XYZxyz(5.5050, 4.4603, 18.9794)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21377A #7A6421
analogous
#21637A #21377A #38217A
triadic
#21377A #7A2137 #377A21
tetradic
#21377A #7A2163 #7A6421 #217A38
square
#21377A #7A2163 #7A6421 #217A38
split-complementary
#21377A #7A3821 #637A21
monochromatic
#070C1A #14214A #21377A #2E4DAA #4869CD

Accessibility & contrast

On white

11.10
#21377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#21377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21377A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21377A#FFFFFF#000000##FFFFFF
##21377A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #21377a;
/* rgb */ color: rgb(33, 55, 122);
/* oklch */ color: oklch(36.1% 0.117 266.7);
Tailwind
colors: {
  custom: {
    50: '#696da1',
    500: '#21377a',
    950: '#000000',
  },
}
SCSS
$custom: #21377a;
$custom-light: #696da1;
$custom-dark: #000000;
JSON
{
  "hex": "#21377a",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 225.169,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.1175,
    "h": 266.7
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#21377A
secondary
#AD944A
accent
#BB47E1
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #21377A

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

Preview Lab → · Contrast checker → · Palette generator →

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