#21448A#21448A

#21448A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.124 H 262.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#21448A
RGBrgb(33, 68, 138)
HSLhsl(220, 61%, 34%)
HSVhsv(220, 76%, 54%)
CMYKcmyk(76.1%, 50.7%, 0%, 45.9%)
CIE-LABlab(30.14, 13.48, -42.71)
CIE-LCHlch(30.14, 44.79, 287.51°)
OKLaboklab(40.23% -0.0165 -0.1227)
OKLCHoklch(40.23% 0.124 262.3)
XYZxyz(7.2801, 6.2918, 24.8706)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21448A #8A6721
analogous
#21788A #21448A #32218A
triadic
#21448A #8A2144 #448A21
tetradic
#21448A #8A2178 #8A6721 #218A32
square
#21448A #8A2178 #8A6721 #218A32
split-complementary
#21448A #8A3221 #788A21
monochromatic
#091327 #152C59 #21448A #2D5CBB #507DD5

Accessibility & contrast

On white

9.30
#21448A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21448A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21448A#FFFFFF#000000##FFFFFF
##21448A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21448a;
/* rgb */ color: rgb(33, 68, 138);
/* oklch */ color: oklch(40.2% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#6c77ad',
    500: '#21448a',
    950: '#000000',
  },
}
SCSS
$custom: #21448a;
$custom-light: #6c77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21448a",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 138
  },
  "hsl": {
    "h": 220,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.12382,
    "h": 262.3
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21448A

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

Preview Lab → · Contrast checker → · Palette generator →

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