#151573#151573

#151573 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.153 H 271.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#151573
RGBrgb(21, 21, 115)
HSLhsl(240, 69%, 27%)
HSVhsv(240, 82%, 45%)
CMYKcmyk(81.7%, 81.7%, 0%, 54.9%)
CIE-LABlab(15.13, 34.82, -52.73)
CIE-LCHlch(15.13, 63.19, 303.44°)
OKLaboklab(28.34% 0.003 -0.1527)
OKLCHoklch(28.34% 0.153 271.1)
XYZxyz(3.6709, 1.9332, 16.3960)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151573 #737315
analogous
#154473 #151573 #441573
triadic
#151573 #731515 #157315
tetradic
#151573 #731544 #737315 #157344
square
#151573 #731544 #737315 #157344
split-complementary
#151573 #734415 #447315
monochromatic
#05051A #0C0C3F #151573 #1E1EA7 #2A2AD8

Accessibility & contrast

On white

15.14
#151573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151573
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151573#FFFFFF#000000##FFFFFF
##1515731.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151573;
/* rgb */ color: rgb(21, 21, 115);
/* oklch */ color: oklch(28.3% 0.153 271.1);
Tailwind
colors: {
  custom: {
    50: '#66549c',
    500: '#151573',
    950: '#000000',
  },
}
SCSS
$custom: #151573;
$custom-light: #66549c;
$custom-dark: #000000;
JSON
{
  "hex": "#151573",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28338,
    "c": 0.15269,
    "h": 271.1
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#151573
secondary
#A9A93B
accent
#EC3CEC
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151573

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

Preview Lab → · Contrast checker → · Palette generator →

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