#151A44#151A44

#151A44 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.079 H 273.8°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#151A44
RGBrgb(21, 26, 68)
HSLhsl(234, 53%, 17%)
HSVhsv(234, 69%, 27%)
CMYKcmyk(69.1%, 61.8%, 0%, 73.3%)
CIE-LABlab(11.38, 13.28, -27.30)
CIE-LCHlch(11.38, 30.36, 295.95°)
OKLaboklab(24.12% 0.0053 -0.0784)
OKLCHoklch(24.12% 0.079 273.8)
XYZxyz(1.7217, 1.3154, 5.6309)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A44 #443F15
analogous
#153244 #151A44 #281544
triadic
#151A44 #44151A #1A4415
tetradic
#151A44 #441532 #443F15 #154428
square
#151A44 #441532 #443F15 #154428
split-complementary
#151A44 #442815 #324415
monochromatic
#070917 #070917 #151A44 #232C73 #323EA2

Accessibility & contrast

On white

16.62
#151A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A44
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A44#FFFFFF#000000##FFFFFF
##151A441.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012045
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151a44;
/* rgb */ color: rgb(21, 26, 68);
/* oklch */ color: oklch(24.1% 0.079 273.8);
Tailwind
colors: {
  custom: {
    50: '#585678',
    500: '#151a44',
    950: '#000000',
  },
}
SCSS
$custom: #151a44;
$custom-light: #585678;
$custom-dark: #000000;
JSON
{
  "hex": "#151a44",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 233.617,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24123,
    "c": 0.07854,
    "h": 273.8
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#151A44
secondary
#7C7539
accent
#CD4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151A44

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

Preview Lab → · Contrast checker → · Palette generator →

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