#21499D#21499D

#21499D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.144 H 262.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#21499D
RGBrgb(33, 73, 157)
HSLhsl(221, 65%, 37%)
HSVhsv(221, 79%, 62%)
CMYKcmyk(79%, 53.5%, 0%, 38.4%)
CIE-LABlab(32.97, 17.62, -49.73)
CIE-LCHlch(32.97, 52.76, 289.51°)
OKLaboklab(42.82% -0.0183 -0.1433)
OKLCHoklch(42.82% 0.144 262.7)
XYZxyz(9.0934, 7.5217, 32.8643)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21499D #9D7521
analogous
#21879D #21499D #37219D
triadic
#21499D #9D2149 #499D21
tetradic
#21499D #9D2187 #9D7521 #219D37
square
#21499D #9D2187 #9D7521 #219D37
split-complementary
#21499D #9D3721 #879D21
monochromatic
#0C1A38 #16316A #21499D #2C61D0 #5C85DD

Accessibility & contrast

On white

8.38
#21499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#21499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21499D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21499D#FFFFFF#000000##FFFFFF
##21499D1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21499d;
/* rgb */ color: rgb(33, 73, 157);
/* oklch */ color: oklch(42.8% 0.144 262.7);
Tailwind
colors: {
  custom: {
    50: '#707bbb',
    500: '#21499d',
    950: '#000000',
  },
}
SCSS
$custom: #21499d;
$custom-light: #707bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#21499d",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 220.645,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.14445,
    "h": 262.7
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#21499D
secondary
#C19F59
accent
#B240E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #21499D

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

Preview Lab → · Contrast checker → · Palette generator →

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