#151477#151477

#151477 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.159 H 270.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#151477
RGBrgb(21, 20, 119)
HSLhsl(241, 71%, 27%)
HSVhsv(241, 83%, 47%)
CMYKcmyk(82.4%, 83.2%, 0%, 53.3%)
CIE-LABlab(15.44, 36.76, -54.80)
CIE-LCHlch(15.44, 65.98, 303.85°)
OKLaboklab(28.7% 0.0024 -0.1586)
OKLCHoklch(28.7% 0.159 270.9)
XYZxyz(3.8881, 1.9912, 17.6286)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151477 #767714
analogous
#144577 #151477 #471477
triadic
#151477 #771514 #147715
tetradic
#151477 #771445 #767714 #147747
square
#151477 #771445 #767714 #147747
split-complementary
#151477 #774714 #457714
monochromatic
#05041A #0C0B43 #151477 #1E1DAB #2C2ADB

Accessibility & contrast

On white

15.02
#151477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#151477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151477
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151477#FFFFFF#000000##FFFFFF
##1514771.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B7A
Deuteranopia (green-blind)
#002175
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151477;
/* rgb */ color: rgb(21, 20, 119);
/* oklch */ color: oklch(28.7% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#67549f',
    500: '#151477',
    950: '#000000',
  },
}
SCSS
$custom: #151477;
$custom-light: #67549f;
$custom-dark: #000000;
JSON
{
  "hex": "#151477",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 240.606,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28699,
    "c": 0.15866,
    "h": 270.9
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#151477
secondary
#ACAD3A
accent
#EE3AEC
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #151477

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

Preview Lab → · Contrast checker → · Palette generator →

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