#21559E#21559E

#21559E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.131 H 257.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#21559E
RGBrgb(33, 85, 158)
HSLhsl(215, 65%, 37%)
HSVhsv(215, 79%, 62%)
CMYKcmyk(79.1%, 46.2%, 0%, 38%)
CIE-LABlab(36.53, 9.96, -44.58)
CIE-LCHlch(36.53, 45.68, 282.60°)
OKLaboklab(45.58% -0.0279 -0.1279)
OKLCHoklch(45.58% 0.131 257.7)
XYZxyz(10.0450, 9.2878, 33.6044)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21559E #9E6A21
analogous
#21949E #21559E #2C219E
triadic
#21559E #9E2155 #559E21
tetradic
#21559E #9E2194 #9E6A21 #219E2C
square
#21559E #9E2194 #9E6A21 #219E2C
split-complementary
#21559E #9E2C21 #949E21
monochromatic
#0C1F39 #163A6B #21559E #2C70D1 #5C92DD

Accessibility & contrast

On white

7.35
#21559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#21559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21559E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21559E#FFFFFF#000000##FFFFFF
##21559E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21559e;
/* rgb */ color: rgb(33, 85, 158);
/* oklch */ color: oklch(45.6% 0.131 257.7);
Tailwind
colors: {
  custom: {
    50: '#7084bb',
    500: '#21559e',
    950: '#000000',
  },
}
SCSS
$custom: #21559e;
$custom-light: #7084bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21559e",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 215.04,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.1309,
    "h": 257.7
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#21559E
secondary
#C19659
accent
#A23FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21559E

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

Preview Lab → · Contrast checker → · Palette generator →

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