#21489C#21489C

#21489C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.144 H 263.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#21489C
RGBrgb(33, 72, 156)
HSLhsl(221, 65%, 37%)
HSVhsv(221, 79%, 61%)
CMYKcmyk(78.8%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.61, 17.90, -49.71)
CIE-LCHlch(32.61, 52.84, 289.81°)
OKLaboklab(42.53% -0.0176 -0.1432)
OKLCHoklch(42.53% 0.144 263)
XYZxyz(8.9432, 7.3573, 32.3948)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21489C #9C7521
analogous
#21859C #21489C #38219C
triadic
#21489C #9C2148 #489C21
tetradic
#21489C #9C2185 #9C7521 #219C38
square
#21489C #9C2185 #9C7521 #219C38
split-complementary
#21489C #9C3821 #859C21
monochromatic
#0C1937 #163169 #21489C #2C5FCF #5B84DC

Accessibility & contrast

On white

8.50
#21489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21489C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21489C#FFFFFF#000000##FFFFFF
##21489C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21489c;
/* rgb */ color: rgb(33, 72, 156);
/* oklch */ color: oklch(42.5% 0.144 263.0);
Tailwind
colors: {
  custom: {
    50: '#707aba',
    500: '#21489c',
    950: '#000000',
  },
}
SCSS
$custom: #21489c;
$custom-light: #707aba;
$custom-dark: #000000;
JSON
{
  "hex": "#21489c",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 220.976,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.14432,
    "h": 263
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#21489C
secondary
#C1A058
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #21489C

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

Preview Lab → · Contrast checker → · Palette generator →

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