#151A4C#151A4C

#151A4C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.091 H 273.4°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#151A4C
RGBrgb(21, 26, 76)
HSLhsl(235, 57%, 19%)
HSVhsv(235, 72%, 30%)
CMYKcmyk(72.4%, 65.8%, 0%, 70.2%)
CIE-LABlab(12.09, 16.57, -31.71)
CIE-LCHlch(12.09, 35.78, 297.58°)
OKLaboklab(24.87% 0.0054 -0.0913)
OKLCHoklch(24.87% 0.091 273.4)
XYZxyz(1.9827, 1.4198, 7.0056)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A4C #4C4715
analogous
#15364C #151A4C #2C154C
triadic
#151A4C #4C151A #1A4C15
tetradic
#151A4C #4C1536 #4C4715 #154C2C
square
#151A4C #4C1536 #4C4715 #154C2C
split-complementary
#151A4C #4C2C15 #364C15
monochromatic
#070818 #080A1C #151A4C #222A7C #2F3BAC

Accessibility & contrast

On white

16.36
#151A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A4C
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A4C#FFFFFF#000000##FFFFFF
##151A4C1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151a4c;
/* rgb */ color: rgb(21, 26, 76);
/* oklch */ color: oklch(24.9% 0.091 273.4);
Tailwind
colors: {
  custom: {
    50: '#5a567e',
    500: '#151a4c',
    950: '#000000',
  },
}
SCSS
$custom: #151a4c;
$custom-light: #5a567e;
$custom-dark: #000000;
JSON
{
  "hex": "#151a4c",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 234.545,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24871,
    "c": 0.09149,
    "h": 273.4
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#151A4C
secondary
#847D39
accent
#D248E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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