#21539F#21539F

#21539F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.135 H 258.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#21539F
RGBrgb(33, 83, 159)
HSLhsl(216, 66%, 38%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(79.2%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.01, 11.69, -46.03)
CIE-LCHlch(36.01, 47.49, 284.25°)
OKLaboklab(45.2% -0.026 -0.1322)
OKLCHoklch(45.2% 0.135 258.9)
XYZxyz(9.9762, 9.0119, 34.0078)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21539F #9F6D21
analogous
#21929F #21539F #2E219F
triadic
#21539F #9F2153 #539F21
tetradic
#21539F #9F2192 #9F6D21 #219F2E
square
#21539F #9F2192 #9F6D21 #219F2E
split-complementary
#21539F #9F2E21 #929F21
monochromatic
#0C1E3A #16396C #21539F #2C6DD2 #5D90DD

Accessibility & contrast

On white

7.49
#21539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#21539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21539F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21539F#FFFFFF#000000##FFFFFF
##21539F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21539f;
/* rgb */ color: rgb(33, 83, 159);
/* oklch */ color: oklch(45.2% 0.135 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082bc',
    500: '#21539f',
    950: '#000000',
  },
}
SCSS
$custom: #21539f;
$custom-light: #7082bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21539f",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 216.19,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.13472,
    "h": 258.9
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#21539F
secondary
#C2995A
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21539F

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

Preview Lab → · Contrast checker → · Palette generator →

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