#151A4D#151A4D

#151A4D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.093 H 273.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#151A4D
RGBrgb(21, 26, 77)
HSLhsl(235, 57%, 19%)
HSVhsv(235, 73%, 30%)
CMYKcmyk(72.7%, 66.2%, 0%, 69.8%)
CIE-LABlab(12.18, 16.97, -32.25)
CIE-LCHlch(12.18, 36.45, 297.76°)
OKLaboklab(24.97% 0.0054 -0.0929)
OKLCHoklch(24.97% 0.093 273.3)
XYZxyz(2.0178, 1.4339, 7.1902)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A4D #4D4815
analogous
#15364D #151A4D #2C154D
triadic
#151A4D #4D151A #1A4D15
tetradic
#151A4D #4D1536 #4D4815 #154D2C
square
#151A4D #4D1536 #4D4815 #154D2C
split-complementary
#151A4D #4D2C15 #364D15
monochromatic
#070818 #080A1D #151A4D #222A7D #2F3AAD

Accessibility & contrast

On white

16.32
#151A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A4D
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A4D#FFFFFF#000000##FFFFFF
##151A4D1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151a4d;
/* rgb */ color: rgb(21, 26, 77);
/* oklch */ color: oklch(25.0% 0.093 273.3);
Tailwind
colors: {
  custom: {
    50: '#5b567f',
    500: '#151a4d',
    950: '#000000',
  },
}
SCSS
$custom: #151a4d;
$custom-light: #5b567f;
$custom-dark: #000000;
JSON
{
  "hex": "#151a4d",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 234.643,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24968,
    "c": 0.09307,
    "h": 273.3
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#151A4D
secondary
#857E39
accent
#D347E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151A4D

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

Preview Lab → · Contrast checker → · Palette generator →

#151A4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva