#21448B#21448B

#21448B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.125 H 262.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#21448B
RGBrgb(33, 68, 139)
HSLhsl(220, 62%, 34%)
HSVhsv(220, 76%, 55%)
CMYKcmyk(76.3%, 51.1%, 0%, 45.5%)
CIE-LABlab(30.21, 13.88, -43.21)
CIE-LCHlch(30.21, 45.39, 287.80°)
OKLaboklab(40.31% -0.0164 -0.1242)
OKLCHoklch(40.31% 0.125 262.5)
XYZxyz(7.3529, 6.3208, 25.2536)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21448B #8B6821
analogous
#21798B #21448B #33218B
triadic
#21448B #8B2144 #448B21
tetradic
#21448B #8B2179 #8B6821 #218B33
square
#21448B #8B2179 #8B6821 #218B33
split-complementary
#21448B #8B3321 #798B21
monochromatic
#0A1428 #152C5A #21448B #2D5CBC #517DD6

Accessibility & contrast

On white

9.27
#21448B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#21448B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21448B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21448B#FFFFFF#000000##FFFFFF
##21448B1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21448b;
/* rgb */ color: rgb(33, 68, 139);
/* oklch */ color: oklch(40.3% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c77ad',
    500: '#21448b',
    950: '#000000',
  },
}
SCSS
$custom: #21448b;
$custom-light: #6c77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21448b",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 220.189,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.12527,
    "h": 262.5
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#21448B
secondary
#B9964F
accent
#AF43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #21448B

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

Preview Lab → · Contrast checker → · Palette generator →

#21448B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva