#21448C#21448C

#21448C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.127 H 262.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#21448C
RGBrgb(33, 68, 140)
HSLhsl(220, 62%, 34%)
HSVhsv(220, 76%, 55%)
CMYKcmyk(76.4%, 51.4%, 0%, 45.1%)
CIE-LABlab(30.28, 14.27, -43.71)
CIE-LCHlch(30.28, 45.98, 288.08°)
OKLaboklab(40.38% -0.0162 -0.1257)
OKLCHoklch(40.38% 0.127 262.6)
XYZxyz(7.4263, 6.3502, 25.6402)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21448C #8C6921
analogous
#217A8C #21448C #34218C
triadic
#21448C #8C2144 #448C21
tetradic
#21448C #8C217A #8C6921 #218C34
square
#21448C #8C217A #8C6921 #218C34
split-complementary
#21448C #8C3421 #7A8C21
monochromatic
#0A1429 #152C5A #21448C #2D5CBE #517DD6

Accessibility & contrast

On white

9.25
#21448C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#21448C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21448C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21448C#FFFFFF#000000##FFFFFF
##21448C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21448c;
/* rgb */ color: rgb(33, 68, 140);
/* oklch */ color: oklch(40.4% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c77ae',
    500: '#21448c',
    950: '#000000',
  },
}
SCSS
$custom: #21448c;
$custom-light: #6c77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21448c",
  "rgb": {
    "r": 33,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 220.374,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.12671,
    "h": 262.6
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#21448C
secondary
#B9974F
accent
#B043E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #21448C

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

Preview Lab → · Contrast checker → · Palette generator →

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