#21489B#21489B

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

Color values

HEX#21489B
RGBrgb(33, 72, 155)
HSLhsl(221, 65%, 37%)
HSVhsv(221, 79%, 61%)
CMYKcmyk(78.7%, 53.5%, 0%, 39.2%)
CIE-LABlab(32.53, 17.51, -49.23)
CIE-LCHlch(32.53, 52.25, 289.58°)
OKLaboklab(42.45% -0.0177 -0.1418)
OKLCHoklch(42.45% 0.143 262.9)
XYZxyz(8.8588, 7.3236, 31.9507)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21489B #9B7421
analogous
#21859B #21489B #37219B
triadic
#21489B #9B2148 #489B21
tetradic
#21489B #9B2185 #9B7421 #219B37
square
#21489B #9B2185 #9B7421 #219B37
split-complementary
#21489B #9B3721 #859B21
monochromatic
#0C1936 #163169 #21489B #2C5FCD #5A84DC

Accessibility & contrast

On white

8.52
#21489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#21489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21489B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21489B#FFFFFF#000000##FFFFFF
##21489B1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21489b;
/* rgb */ color: rgb(33, 72, 155);
/* oklch */ color: oklch(42.4% 0.143 262.9);
Tailwind
colors: {
  custom: {
    50: '#707ab9',
    500: '#21489b',
    950: '#000000',
  },
}
SCSS
$custom: #21489b;
$custom-light: #707ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#21489b",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 220.82,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.14291,
    "h": 262.9
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21489B

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

Preview Lab → · Contrast checker → · Palette generator →

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