#151471#151471

#151471 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.151 H 271.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#151471
RGBrgb(21, 20, 113)
HSLhsl(241, 70%, 26%)
HSVhsv(241, 82%, 44%)
CMYKcmyk(81.4%, 82.3%, 0%, 55.7%)
CIE-LABlab(14.69, 34.68, -52.17)
CIE-LCHlch(14.69, 62.64, 303.62°)
OKLaboklab(27.96% 0.0038 -0.151)
OKLCHoklch(27.96% 0.151 271.4)
XYZxyz(3.5390, 1.8516, 15.7905)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151471 #707114
analogous
#144171 #151471 #431471
triadic
#151471 #711514 #147115
tetradic
#151471 #711441 #707114 #147143
square
#151471 #711441 #707114 #147143
split-complementary
#151471 #714314 #417114
monochromatic
#05051A #0B0B3D #151471 #1F1DA5 #2927D9

Accessibility & contrast

On white

15.32
#151471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151471
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151471#FFFFFF#000000##FFFFFF
##1514711.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151471;
/* rgb */ color: rgb(21, 20, 113);
/* oklch */ color: oklch(28.0% 0.151 271.4);
Tailwind
colors: {
  custom: {
    50: '#65549b',
    500: '#151471',
    950: '#000000',
  },
}
SCSS
$custom: #151471;
$custom-light: #65549b;
$custom-dark: #000000;
JSON
{
  "hex": "#151471",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 240.645,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27955,
    "c": 0.15107,
    "h": 271.4
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#151471
secondary
#A6A739
accent
#ED3BEB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151471

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

Preview Lab → · Contrast checker → · Palette generator →

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