#21489A#21489A

#21489A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.142 H 262.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#21489A
RGBrgb(33, 72, 154)
HSLhsl(221, 65%, 37%)
HSVhsv(221, 79%, 60%)
CMYKcmyk(78.6%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.46, 17.11, -48.74)
CIE-LCHlch(32.46, 51.66, 289.34°)
OKLaboklab(42.37% -0.0178 -0.1404)
OKLCHoklch(42.37% 0.142 262.8)
XYZxyz(8.7752, 7.2901, 31.5102)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21489A #9A7321
analogous
#21859A #21489A #37219A
triadic
#21489A #9A2148 #489A21
tetradic
#21489A #9A2185 #9A7321 #219A37
square
#21489A #9A2185 #9A7321 #219A37
split-complementary
#21489A #9A3721 #859A21
monochromatic
#0B1935 #163068 #21489A #2C60CC #5A84DC

Accessibility & contrast

On white

8.54
#21489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#21489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21489A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21489A#FFFFFF#000000##FFFFFF
##21489A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #21489a;
/* rgb */ color: rgb(33, 72, 154);
/* oklch */ color: oklch(42.4% 0.142 262.8);
Tailwind
colors: {
  custom: {
    50: '#707ab8',
    500: '#21489a',
    950: '#000000',
  },
}
SCSS
$custom: #21489a;
$custom-light: #707ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#21489a",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 220.661,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.14151,
    "h": 262.8
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#21489A
secondary
#C09E57
accent
#B240E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #21489A

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

Preview Lab → · Contrast checker → · Palette generator →

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