#21499A#21499A

#21499A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.140 H 262.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#21499A
RGBrgb(33, 73, 154)
HSLhsl(220, 65%, 37%)
HSVhsv(220, 79%, 60%)
CMYKcmyk(78.6%, 52.6%, 0%, 39.6%)
CIE-LABlab(32.75, 16.43, -48.28)
CIE-LCHlch(32.75, 51.00, 288.80°)
OKLaboklab(42.59% -0.0186 -0.139)
OKLCHoklch(42.59% 0.14 262.4)
XYZxyz(8.8404, 7.4205, 31.5320)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21499A #9A7221
analogous
#21869A #21499A #35219A
triadic
#21499A #9A2149 #499A21
tetradic
#21499A #9A2186 #9A7221 #219A35
square
#21499A #9A2186 #9A7221 #219A35
split-complementary
#21499A #9A3521 #869A21
monochromatic
#0B1935 #163168 #21499A #2C61CC #5A85DC

Accessibility & contrast

On white

8.45
#21499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#21499A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21499A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21499A#FFFFFF#000000##FFFFFF
##21499A1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21499a;
/* rgb */ color: rgb(33, 73, 154);
/* oklch */ color: oklch(42.6% 0.140 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bb8',
    500: '#21499a',
    950: '#000000',
  },
}
SCSS
$custom: #21499a;
$custom-light: #6f7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#21499a",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 220.165,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.14024,
    "h": 262.4
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#21499A
secondary
#C09D57
accent
#B040E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #21499A

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

Preview Lab → · Contrast checker → · Palette generator →

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