#150B4A#150B4A

#150B4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.108 H 279.8°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#150B4A
RGBrgb(21, 11, 74)
HSLhsl(250, 74%, 17%)
HSVhsv(250, 85%, 29%)
CMYKcmyk(71.6%, 85.1%, 0%, 71%)
CIE-LABlab(8.07, 26.11, -36.92)
CIE-LCHlch(8.07, 45.22, 305.27°)
OKLaboklab(21.9% 0.0185 -0.1066)
OKLCHoklch(21.9% 0.108 279.8)
XYZxyz(1.6646, 0.8931, 6.5619)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B4A #404A0B
analogous
#0B214A #150B4A #350B4A
triadic
#150B4A #4A150B #0B4A15
tetradic
#150B4A #4A0B21 #404A0B #0B4A35
square
#150B4A #4A0B21 #404A0B #0B4A35
split-complementary
#150B4A #4A350B #214A0B
monochromatic
#08041B #08041B #150B4A #24137F #331BB5

Accessibility & contrast

On white

17.82
#150B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#150B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B4A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B4A#FFFFFF#000000##FFFFFF
##150B4A1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150b4a;
/* rgb */ color: rgb(21, 11, 74);
/* oklch */ color: oklch(21.9% 0.108 279.8);
Tailwind
colors: {
  custom: {
    50: '#5c4b7d',
    500: '#150b4a',
    950: '#000000',
  },
}
SCSS
$custom: #150b4a;
$custom-light: #5c4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#150b4a",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 249.524,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21903,
    "c": 0.10817,
    "h": 279.8
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#150B4A
secondary
#78862B
accent
#F137D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150B4A

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

Preview Lab → · Contrast checker → · Palette generator →

#150B4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva