#21499E#21499E

#21499E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.146 H 262.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#21499E
RGBrgb(33, 73, 158)
HSLhsl(221, 65%, 37%)
HSVhsv(221, 79%, 62%)
CMYKcmyk(79.1%, 53.8%, 0%, 38%)
CIE-LABlab(33.04, 18.02, -50.22)
CIE-LCHlch(33.04, 53.35, 289.74°)
OKLaboklab(42.9% -0.0182 -0.1447)
OKLCHoklch(42.9% 0.146 262.8)
XYZxyz(9.1791, 7.5560, 33.3158)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21499E #9E7621
analogous
#21889E #21499E #38219E
triadic
#21499E #9E2149 #499E21
tetradic
#21499E #9E2188 #9E7621 #219E38
square
#21499E #9E2188 #9E7621 #219E38
split-complementary
#21499E #9E3821 #889E21
monochromatic
#0C1A39 #16326B #21499E #2C60D1 #5C86DD

Accessibility & contrast

On white

8.36
#21499E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#21499E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21499E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21499E#FFFFFF#000000##FFFFFF
##21499E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21499e;
/* rgb */ color: rgb(33, 73, 158);
/* oklch */ color: oklch(42.9% 0.146 262.8);
Tailwind
colors: {
  custom: {
    50: '#707bbb',
    500: '#21499e',
    950: '#000000',
  },
}
SCSS
$custom: #21499e;
$custom-light: #707bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#21499e",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 220.8,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42903,
    "c": 0.14585,
    "h": 262.8
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#21499E
secondary
#C1A059
accent
#B23FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #21499E

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

Preview Lab → · Contrast checker → · Palette generator →

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