#21499B#21499B

#21499B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.142 H 262.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#21499B
RGBrgb(33, 73, 155)
HSLhsl(220, 65%, 37%)
HSVhsv(220, 79%, 61%)
CMYKcmyk(78.7%, 52.9%, 0%, 39.2%)
CIE-LABlab(32.82, 16.83, -48.76)
CIE-LCHlch(32.82, 51.58, 289.04°)
OKLaboklab(42.66% -0.0185 -0.1404)
OKLCHoklch(42.66% 0.142 262.5)
XYZxyz(8.9240, 7.4540, 31.9724)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21499B #9B7321
analogous
#21869B #21499B #36219B
triadic
#21499B #9B2149 #499B21
tetradic
#21499B #9B2186 #9B7321 #219B36
square
#21499B #9B2186 #9B7321 #219B36
split-complementary
#21499B #9B3621 #869B21
monochromatic
#0C1936 #163169 #21499B #2C61CD #5A85DC

Accessibility & contrast

On white

8.43
#21499B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#21499B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21499B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21499B#FFFFFF#000000##FFFFFF
##21499B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21499b;
/* rgb */ color: rgb(33, 73, 155);
/* oklch */ color: oklch(42.7% 0.142 262.5);
Tailwind
colors: {
  custom: {
    50: '#707bb9',
    500: '#21499b',
    950: '#000000',
  },
}
SCSS
$custom: #21499b;
$custom-light: #707bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21499b",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 220.328,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42664,
    "c": 0.14164,
    "h": 262.5
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#21499B
secondary
#C09E58
accent
#B140E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #21499B

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

Preview Lab → · Contrast checker → · Palette generator →

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