#151A48#151A48

#151A48 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.085 H 273.6°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#151A48
RGBrgb(21, 26, 72)
HSLhsl(234, 55%, 18%)
HSVhsv(234, 71%, 28%)
CMYKcmyk(70.8%, 63.9%, 0%, 71.8%)
CIE-LABlab(11.73, 14.93, -29.53)
CIE-LCHlch(11.73, 33.09, 296.82°)
OKLaboklab(24.49% 0.0054 -0.0849)
OKLCHoklch(24.49% 0.085 273.6)
XYZxyz(1.8480, 1.3659, 6.2959)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A48 #484315
analogous
#153348 #151A48 #291548
triadic
#151A48 #48151A #1A4815
tetradic
#151A48 #481533 #484315 #154829
square
#151A48 #481533 #484315 #154829
split-complementary
#151A48 #482915 #334815
monochromatic
#070918 #070919 #151A48 #232B77 #313CA7

Accessibility & contrast

On white

16.49
#151A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A48
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A48#FFFFFF#000000##FFFFFF
##151A481.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151a48;
/* rgb */ color: rgb(21, 26, 72);
/* oklch */ color: oklch(24.5% 0.085 273.6);
Tailwind
colors: {
  custom: {
    50: '#59567b',
    500: '#151a48',
    950: '#000000',
  },
}
SCSS
$custom: #151a48;
$custom-light: #59567b;
$custom-dark: #000000;
JSON
{
  "hex": "#151a48",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 234.118,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24491,
    "c": 0.08509,
    "h": 273.6
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#151A48
secondary
#807939
accent
#D04ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151A48

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

Preview Lab → · Contrast checker → · Palette generator →

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