#21439F#21439F

#21439F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.155 H 264.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#21439F
RGBrgb(33, 67, 159)
HSLhsl(224, 66%, 38%)
HSVhsv(224, 79%, 62%)
CMYKcmyk(79.2%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.44, 22.49, -53.42)
CIE-LCHlch(31.44, 57.96, 292.83°)
OKLaboklab(41.72% -0.0137 -0.1542)
OKLCHoklch(41.72% 0.155 264.9)
XYZxyz(8.8901, 6.8398, 33.6458)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21439F #9F7D21
analogous
#21829F #21439F #3E219F
triadic
#21439F #9F2143 #439F21
tetradic
#21439F #9F2182 #9F7D21 #219F3E
square
#21439F #9F2182 #9F7D21 #219F3E
split-complementary
#21439F #9F3E21 #829F21
monochromatic
#0C183A #162E6C #21439F #2C58D2 #5D80DD

Accessibility & contrast

On white

8.87
#21439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#21439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21439F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21439F#FFFFFF#000000##FFFFFF
##21439F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #21439f;
/* rgb */ color: rgb(33, 67, 159);
/* oklch */ color: oklch(41.7% 0.155 264.9);
Tailwind
colors: {
  custom: {
    50: '#7176bc',
    500: '#21439f',
    950: '#000000',
  },
}
SCSS
$custom: #21439f;
$custom-light: #7176bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21439f",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 223.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.15485,
    "h": 264.9
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#21439F
secondary
#C2A65A
accent
#BB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21439F

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

Preview Lab → · Contrast checker → · Palette generator →

#21439F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva