#151A4A#151A4A

#151A4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.088 H 273.5°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#151A4A
RGBrgb(21, 26, 74)
HSLhsl(234, 56%, 19%)
HSVhsv(234, 72%, 29%)
CMYKcmyk(71.6%, 64.9%, 0%, 71%)
CIE-LABlab(11.91, 15.75, -30.63)
CIE-LCHlch(11.91, 34.44, 297.21°)
OKLaboklab(24.68% 0.0054 -0.0881)
OKLCHoklch(24.68% 0.088 273.5)
XYZxyz(1.9143, 1.3925, 6.6451)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A4A #4A4515
analogous
#15344A #151A4A #2A154A
triadic
#151A4A #4A151A #1A4A15
tetradic
#151A4A #4A1534 #4A4515 #154A2A
square
#151A4A #4A1534 #4A4515 #154A2A
split-complementary
#151A4A #4A2A15 #344A15
monochromatic
#070818 #07091A #151A4A #232B7A #303BA9

Accessibility & contrast

On white

16.42
#151A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A4A
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A4A#FFFFFF#000000##FFFFFF
##151A4A1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151a4a;
/* rgb */ color: rgb(21, 26, 74);
/* oklch */ color: oklch(24.7% 0.088 273.5);
Tailwind
colors: {
  custom: {
    50: '#5a567d',
    500: '#151a4a',
    950: '#000000',
  },
}
SCSS
$custom: #151a4a;
$custom-light: #5a567d;
$custom-dark: #000000;
JSON
{
  "hex": "#151a4a",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 234.34,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2468,
    "c": 0.08831,
    "h": 273.5
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#151A4A
secondary
#827B39
accent
#D149DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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