#21447A#21447A

#21447A is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.100 H 258.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#21447A
RGBrgb(33, 68, 122)
HSLhsl(216, 57%, 30%)
HSVhsv(216, 73%, 48%)
CMYKcmyk(73%, 44.3%, 0%, 52.2%)
CIE-LABlab(29.06, 7.11, -34.49)
CIE-LCHlch(29.06, 35.21, 281.64°)
OKLaboklab(39.06% -0.0194 -0.0985)
OKLCHoklch(39.06% 0.1 258.9)
XYZxyz(6.2059, 5.8621, 19.2130)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21447A #7A5721
analogous
#21707A #21447A #2A217A
triadic
#21447A #7A2144 #447A21
tetradic
#21447A #7A2170 #7A5721 #217A2A
square
#21447A #7A2170 #7A5721 #217A2A
split-complementary
#21447A #7A2A21 #707A21
monochromatic
#070E1A #14294A #21447A #2E5FAA #487CCD

Accessibility & contrast

On white

9.67
#21447A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#21447A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21447A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21447A#FFFFFF#000000##FFFFFF
##21447A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #21447a;
/* rgb */ color: rgb(33, 68, 122);
/* oklch */ color: oklch(39.1% 0.100 258.9);
Tailwind
colors: {
  custom: {
    50: '#6877a1',
    500: '#21447a',
    950: '#000000',
  },
}
SCSS
$custom: #21447a;
$custom-light: #6877a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21447a",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 122
  },
  "hsl": {
    "h": 216.404,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39056,
    "c": 0.10041,
    "h": 258.9
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#21447A
secondary
#AD864A
accent
#A447E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #21447A

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

Preview Lab → · Contrast checker → · Palette generator →

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