#150D4C#150D4C

#150D4C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.109 H 278.7°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#150D4C
RGBrgb(21, 13, 76)
HSLhsl(248, 71%, 17%)
HSVhsv(248, 83%, 30%)
CMYKcmyk(72.4%, 82.9%, 0%, 70.2%)
CIE-LABlab(8.73, 25.62, -37.22)
CIE-LCHlch(8.73, 45.18, 304.54°)
OKLaboklab(22.44% 0.0165 -0.1075)
OKLCHoklch(22.44% 0.109 278.7)
XYZxyz(1.7573, 0.9689, 6.9305)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D4C #444C0D
analogous
#0D254C #150D4C #350D4C
triadic
#150D4C #4C150D #0D4C15
tetradic
#150D4C #4C0D25 #444C0D #0D4C35
square
#150D4C #4C0D25 #444C0D #0D4C35
split-complementary
#150D4C #4C350D #254C0D
monochromatic
#07041A #07041A #150D4C #231680 #321FB5

Accessibility & contrast

On white

17.59
#150D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D4C
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D4C#FFFFFF#000000##FFFFFF
##150D4C1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150d4c;
/* rgb */ color: rgb(21, 13, 76);
/* oklch */ color: oklch(22.4% 0.109 278.7);
Tailwind
colors: {
  custom: {
    50: '#5c4d7f',
    500: '#150d4c',
    950: '#000000',
  },
}
SCSS
$custom: #150d4c;
$custom-light: #5c4d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#150d4c",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 247.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2244,
    "c": 0.10873,
    "h": 278.7
  },
  "luminance": 0.00969
}

Semantic roles & 50–950 ramp

primary
#150D4C
secondary
#7C872E
accent
#EE3AD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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