#21539D#21539D

#21539D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.132 H 258.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#21539D
RGBrgb(33, 83, 157)
HSLhsl(216, 65%, 37%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(79%, 47.1%, 0%, 38.4%)
CIE-LABlab(35.87, 10.89, -45.04)
CIE-LCHlch(35.87, 46.34, 283.60°)
OKLaboklab(45.05% -0.0264 -0.1293)
OKLCHoklch(45.05% 0.132 258.5)
XYZxyz(9.8040, 8.9430, 33.1012)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21539D #9D6B21
analogous
#21919D #21539D #2D219D
triadic
#21539D #9D2153 #539D21
tetradic
#21539D #9D2191 #9D6B21 #219D2D
square
#21539D #9D2191 #9D6B21 #219D2D
split-complementary
#21539D #9D2D21 #919D21
monochromatic
#0C1E38 #16386A #21539D #2C6ED0 #5C90DD

Accessibility & contrast

On white

7.53
#21539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#21539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21539D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21539D#FFFFFF#000000##FFFFFF
##21539D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#0A4F9C
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21539d;
/* rgb */ color: rgb(33, 83, 157);
/* oklch */ color: oklch(45.1% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#21539d',
    950: '#000000',
  },
}
SCSS
$custom: #21539d;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21539d",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 215.806,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.13194,
    "h": 258.5
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#21539D
secondary
#C19759
accent
#A440E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21539D

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

Preview Lab → · Contrast checker → · Palette generator →

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