#150D4A#150D4A

#150D4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.106 H 279.3°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#150D4A
RGBrgb(21, 13, 74)
HSLhsl(248, 70%, 17%)
HSVhsv(248, 82%, 29%)
CMYKcmyk(71.6%, 82.4%, 0%, 71%)
CIE-LABlab(8.50, 24.89, -36.21)
CIE-LCHlch(8.50, 43.94, 304.50°)
OKLaboklab(22.2% 0.0171 -0.1045)
OKLCHoklch(22.2% 0.106 279.3)
XYZxyz(1.6888, 0.9416, 6.5700)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D4A #424A0D
analogous
#0D244A #150D4A #340D4A
triadic
#150D4A #4A150D #0D4A15
tetradic
#150D4A #4A0D24 #424A0D #0D4A34
square
#150D4A #4A0D24 #424A0D #0D4A34
split-complementary
#150D4A #4A340D #244A0D
monochromatic
#07051A #07051A #150D4A #24167E #331FB2

Accessibility & contrast

On white

17.67
#150D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D4A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D4A#FFFFFF#000000##FFFFFF
##150D4A1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150d4a;
/* rgb */ color: rgb(21, 13, 74);
/* oklch */ color: oklch(22.2% 0.106 279.3);
Tailwind
colors: {
  custom: {
    50: '#5b4d7d',
    500: '#150d4a',
    950: '#000000',
  },
}
SCSS
$custom: #150d4a;
$custom-light: #5b4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#150d4a",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 247.869,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22204,
    "c": 0.10592,
    "h": 279.3
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#150D4A
secondary
#7A852E
accent
#ED3BD6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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