#151561#151561

#151561 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.129 H 273.0°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#151561
RGBrgb(21, 21, 97)
HSLhsl(240, 64%, 23%)
HSVhsv(240, 78%, 38%)
CMYKcmyk(78.4%, 78.4%, 0%, 62%)
CIE-LABlab(12.98, 28.31, -44.48)
CIE-LCHlch(12.98, 52.73, 302.48°)
OKLaboklab(26.18% 0.0068 -0.1287)
OKLCHoklch(26.18% 0.129 273)
XYZxyz(2.7344, 1.5585, 11.4637)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151561 #616115
analogous
#153B61 #151561 #3B1561
triadic
#151561 #611515 #156115
tetradic
#151561 #61153B #616115 #15613B
square
#151561 #61153B #616115 #15613B
split-complementary
#151561 #613B15 #3B6115
monochromatic
#050519 #0A0A2F #151561 #202093 #2B2BC6

Accessibility & contrast

On white

16.01
#151561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151561
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151561#FFFFFF#000000##FFFFFF
##1515611.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#001E60
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151561;
/* rgb */ color: rgb(21, 21, 97);
/* oklch */ color: oklch(26.2% 0.129 273.0);
Tailwind
colors: {
  custom: {
    50: '#61538f',
    500: '#151561',
    950: '#000000',
  },
}
SCSS
$custom: #151561;
$custom-light: #61538f;
$custom-dark: #000000;
JSON
{
  "hex": "#151561",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 240,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2618,
    "c": 0.12888,
    "h": 273
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#151561
secondary
#98983A
accent
#E740E7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #151561

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

Preview Lab → · Contrast checker → · Palette generator →

#151561 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva