#150C48#150C48

#150C48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.104 H 280.1°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#150C48
RGBrgb(21, 12, 72)
HSLhsl(249, 71%, 16%)
HSVhsv(249, 83%, 28%)
CMYKcmyk(70.8%, 83.3%, 0%, 71.8%)
CIE-LABlab(8.04, 24.79, -35.56)
CIE-LCHlch(8.04, 43.35, 304.88°)
OKLaboklab(21.81% 0.0184 -0.1026)
OKLCHoklch(21.81% 0.104 280.1)
XYZxyz(1.6101, 0.8901, 6.2166)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C48 #3F480C
analogous
#0C2148 #150C48 #330C48
triadic
#150C48 #48150C #0C4815
tetradic
#150C48 #480C21 #3F480C #0C4833
square
#150C48 #480C21 #3F480C #0C4833
split-complementary
#150C48 #48330C #21480C
monochromatic
#08041A #08041A #150C48 #24157C #341DB1

Accessibility & contrast

On white

17.83
#150C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C48
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C48#FFFFFF#000000##FFFFFF
##150C481.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150c48;
/* rgb */ color: rgb(21, 12, 72);
/* oklch */ color: oklch(21.8% 0.104 280.1);
Tailwind
colors: {
  custom: {
    50: '#5b4c7c',
    500: '#150c48',
    950: '#000000',
  },
}
SCSS
$custom: #150c48;
$custom-light: #5b4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150c48",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 249,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21813,
    "c": 0.10427,
    "h": 280.1
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#150C48
secondary
#77842C
accent
#EE3AD3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150C48

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

Preview Lab → · Contrast checker → · Palette generator →

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