#21499C#21499C

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

Color values

HEX#21499C
RGBrgb(33, 73, 156)
HSLhsl(220, 65%, 37%)
HSVhsv(220, 79%, 61%)
CMYKcmyk(78.8%, 53.2%, 0%, 38.8%)
CIE-LABlab(32.89, 17.22, -49.25)
CIE-LCHlch(32.89, 52.17, 289.28°)
OKLaboklab(42.74% -0.0184 -0.1419)
OKLCHoklch(42.74% 0.143 262.6)
XYZxyz(9.0083, 7.4877, 32.4165)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21499C #9C7421
analogous
#21879C #21499C #37219C
triadic
#21499C #9C2149 #499C21
tetradic
#21499C #9C2187 #9C7421 #219C37
square
#21499C #9C2187 #9C7421 #219C37
split-complementary
#21499C #9C3721 #879C21
monochromatic
#0C1A37 #163169 #21499C #2C61CF #5B85DC

Accessibility & contrast

On white

8.41
#21499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21499C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21499C#FFFFFF#000000##FFFFFF
##21499C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21499c;
/* rgb */ color: rgb(33, 73, 156);
/* oklch */ color: oklch(42.7% 0.143 262.6);
Tailwind
colors: {
  custom: {
    50: '#707bba',
    500: '#21499c',
    950: '#000000',
  },
}
SCSS
$custom: #21499c;
$custom-light: #707bba;
$custom-dark: #000000;
JSON
{
  "hex": "#21499c",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 220.488,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.14305,
    "h": 262.6
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#21499C
secondary
#C19F58
accent
#B140E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #21499C

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

Preview Lab → · Contrast checker → · Palette generator →

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