#21559F#21559F

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

Color values

HEX#21559F
RGBrgb(33, 85, 159)
HSLhsl(215, 66%, 38%)
HSVhsv(215, 79%, 62%)
CMYKcmyk(79.2%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.60, 10.36, -45.08)
CIE-LCHlch(36.60, 46.26, 282.94°)
OKLaboklab(45.65% -0.0277 -0.1293)
OKLCHoklch(45.65% 0.132 257.9)
XYZxyz(10.1314, 9.3223, 34.0596)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21559F #9F6B21
analogous
#21949F #21559F #2C219F
triadic
#21559F #9F2155 #559F21
tetradic
#21559F #9F2194 #9F6B21 #219F2C
square
#21559F #9F2194 #9F6B21 #219F2C
split-complementary
#21559F #9F2C21 #949F21
monochromatic
#0C1F3A #163A6C #21559F #2C70D2 #5D92DD

Accessibility & contrast

On white

7.33
#21559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21559F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21559F#FFFFFF#000000##FFFFFF
##21559F1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#0F519E
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21559f;
/* rgb */ color: rgb(33, 85, 159);
/* oklch */ color: oklch(45.6% 0.132 257.9);
Tailwind
colors: {
  custom: {
    50: '#7084bc',
    500: '#21559f',
    950: '#000000',
  },
}
SCSS
$custom: #21559f;
$custom-light: #7084bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21559f",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 215.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.13228,
    "h": 257.9
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#21559F
secondary
#C2975A
accent
#A33FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21559F

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

Preview Lab → · Contrast checker → · Palette generator →

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