#151A3A#151A3A

#151A3A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.061 H 274.0°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#151A3A
RGBrgb(21, 26, 58)
HSLhsl(232, 47%, 15%)
HSVhsv(232, 64%, 23%)
CMYKcmyk(63.8%, 55.2%, 0%, 77.3%)
CIE-LABlab(10.58, 9.20, -21.52)
CIE-LCHlch(10.58, 23.40, 293.14°)
OKLaboklab(23.27% 0.0043 -0.0613)
OKLCHoklch(23.27% 0.062 274)
XYZxyz(1.4421, 1.2036, 4.1585)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A3A #3A3515
analogous
#152C3A #151A3A #22153A
triadic
#151A3A #3A151A #1A3A15
tetradic
#151A3A #3A152C #3A3515 #153A22
square
#151A3A #3A152C #3A3515 #153A22
split-complementary
#151A3A #3A2215 #2C3A15
monochromatic
#080A16 #080A16 #151A3A #252E67 #364294

Accessibility & contrast

On white

16.92
#151A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#151A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A3A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A3A#FFFFFF#000000##FFFFFF
##151A3A1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#032127
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #151a3a;
/* rgb */ color: rgb(21, 26, 58);
/* oklch */ color: oklch(23.3% 0.061 274.0);
Tailwind
colors: {
  custom: {
    50: '#565670',
    500: '#151a3a',
    950: '#000000',
  },
}
SCSS
$custom: #151a3a;
$custom-light: #565670;
$custom-dark: #000000;
JSON
{
  "hex": "#151a3a",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 231.892,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23265,
    "c": 0.0615,
    "h": 274
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#151A3A
secondary
#716A39
accent
#C451D6
background
#F5F5F6
surface
#E9E8EC
border
#C5C4C7
text
#030307
muted
#78787A

Preview Lab

Preview with #151A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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