#151480#151480

#151480 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.170 H 270.1°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#151480
RGBrgb(21, 20, 128)
HSLhsl(241, 73%, 29%)
HSVhsv(241, 84%, 50%)
CMYKcmyk(83.6%, 84.4%, 0%, 49.8%)
CIE-LABlab(16.59, 39.79, -58.65)
CIE-LCHlch(16.59, 70.87, 304.16°)
OKLaboklab(29.83% 0.0004 -0.1698)
OKLCHoklch(29.83% 0.17 270.1)
XYZxyz(4.4544, 2.2177, 20.6112)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151480 #7F8014
analogous
#144980 #151480 #4B1480
triadic
#151480 #801514 #148015
tetradic
#151480 #801449 #7F8014 #14804B
square
#151480 #801449 #7F8014 #14804B
split-complementary
#151480 #804B14 #498014
monochromatic
#04041A #0C0C4B #151480 #1E1CB5 #3130DF

Accessibility & contrast

On white

14.55
#151480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#151480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151480
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151480#FFFFFF#000000##FFFFFF
##1514801.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #151480;
/* rgb */ color: rgb(21, 20, 128);
/* oklch */ color: oklch(29.8% 0.170 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a55a6',
    500: '#151480',
    950: '#000000',
  },
}
SCSS
$custom: #151480;
$custom-light: #6a55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#151480",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 240.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.29831,
    "c": 0.16978,
    "h": 270.1
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#151480
secondary
#B4B53B
accent
#F038EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #151480

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

Preview Lab → · Contrast checker → · Palette generator →

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