#21447E#21447E

#21447E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.106 H 259.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#21447E
RGBrgb(33, 68, 126)
HSLhsl(217, 58%, 31%)
HSVhsv(217, 74%, 49%)
CMYKcmyk(73.8%, 46%, 0%, 50.6%)
CIE-LABlab(29.32, 8.70, -36.58)
CIE-LCHlch(29.32, 37.60, 283.37°)
OKLaboklab(39.34% -0.0186 -0.1047)
OKLCHoklch(39.34% 0.106 259.9)
XYZxyz(6.4589, 5.9632, 20.5452)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21447E #7E5B21
analogous
#21727E #21447E #2C217E
triadic
#21447E #7E2144 #447E21
tetradic
#21447E #7E2172 #7E5B21 #217E2C
square
#21447E #7E2172 #7E5B21 #217E2C
split-complementary
#21447E #7E2C21 #727E21
monochromatic
#08101D #142A4E #21447E #2E5EAE #4A7CD0

Accessibility & contrast

On white

9.58
#21447E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#21447E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21447E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21447E#FFFFFF#000000##FFFFFF
##21447E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #21447e;
/* rgb */ color: rgb(33, 68, 126);
/* oklch */ color: oklch(39.3% 0.106 259.9);
Tailwind
colors: {
  custom: {
    50: '#6977a4',
    500: '#21447e',
    950: '#000000',
  },
}
SCSS
$custom: #21447e;
$custom-light: #6977a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21447e",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 217.419,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.1063,
    "h": 259.9
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#21447E
secondary
#B18A4A
accent
#A746E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #21447E

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

Preview Lab → · Contrast checker → · Palette generator →

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