#21499F#21499F

#21499F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.147 H 262.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#21499F
RGBrgb(33, 73, 159)
HSLhsl(221, 66%, 38%)
HSVhsv(221, 79%, 62%)
CMYKcmyk(79.2%, 54.1%, 0%, 37.6%)
CIE-LABlab(33.12, 18.41, -50.70)
CIE-LCHlch(33.12, 53.94, 289.96°)
OKLaboklab(42.98% -0.0181 -0.1461)
OKLCHoklch(42.98% 0.147 262.9)
XYZxyz(9.2655, 7.5905, 33.7710)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21499F #9F7721
analogous
#21889F #21499F #38219F
triadic
#21499F #9F2149 #499F21
tetradic
#21499F #9F2188 #9F7721 #219F38
square
#21499F #9F2188 #9F7721 #219F38
split-complementary
#21499F #9F3821 #889F21
monochromatic
#0C1A3A #16326C #21499F #2C60D2 #5D86DD

Accessibility & contrast

On white

8.34
#21499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#21499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21499F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21499F#FFFFFF#000000##FFFFFF
##21499F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21499f;
/* rgb */ color: rgb(33, 73, 159);
/* oklch */ color: oklch(43.0% 0.147 262.9);
Tailwind
colors: {
  custom: {
    50: '#717bbc',
    500: '#21499f',
    950: '#000000',
  },
}
SCSS
$custom: #21499f;
$custom-light: #717bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#21499f",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 220.952,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.14724,
    "h": 262.9
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#21499F
secondary
#C2A15A
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #21499F

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

Preview Lab → · Contrast checker → · Palette generator →

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