#21448E#21448E

#21448E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.130 H 262.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#21448E
RGBrgb(33, 68, 142)
HSLhsl(221, 62%, 34%)
HSVhsv(221, 77%, 56%)
CMYKcmyk(76.8%, 52.1%, 0%, 44.3%)
CIE-LABlab(30.42, 15.07, -44.71)
CIE-LCHlch(30.42, 47.18, 288.63°)
OKLaboklab(40.54% -0.016 -0.1286)
OKLCHoklch(40.54% 0.13 262.9)
XYZxyz(7.5751, 6.4097, 26.4239)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21448E #8E6B21
analogous
#217B8E #21448E #35218E
triadic
#21448E #8E2144 #448E21
tetradic
#21448E #8E217B #8E6B21 #218E35
square
#21448E #8E217B #8E6B21 #218E35
split-complementary
#21448E #8E3521 #7B8E21
monochromatic
#0A142B #152C5C #21448E #2D5CC0 #527DD7

Accessibility & contrast

On white

9.20
#21448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#21448E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21448E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21448E#FFFFFF#000000##FFFFFF
##21448E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21448e;
/* rgb */ color: rgb(33, 68, 142);
/* oklch */ color: oklch(40.5% 0.130 262.9);
Tailwind
colors: {
  custom: {
    50: '#6d77b0',
    500: '#21448e',
    950: '#000000',
  },
}
SCSS
$custom: #21448e;
$custom-light: #6d77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21448e",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 220.734,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.12959,
    "h": 262.9
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#21448E
secondary
#BA9850
accent
#B142E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #21448E

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

Preview Lab → · Contrast checker → · Palette generator →

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