#150D48#150D48

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

Color values

HEX#150D48
RGBrgb(21, 13, 72)
HSLhsl(248, 69%, 17%)
HSVhsv(248, 82%, 28%)
CMYKcmyk(70.8%, 81.9%, 0%, 71.8%)
CIE-LABlab(8.26, 24.16, -35.20)
CIE-LCHlch(8.26, 42.69, 304.47°)
OKLaboklab(21.97% 0.0176 -0.1016)
OKLCHoklch(21.97% 0.103 279.8)
XYZxyz(1.6225, 0.9150, 6.2208)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D48 #40480D
analogous
#0D2348 #150D48 #330D48
triadic
#150D48 #48150D #0D4815
tetradic
#150D48 #480D23 #40480D #0D4833
square
#150D48 #480D23 #40480D #0D4833
split-complementary
#150D48 #48330D #23480D
monochromatic
#08051A #08051A #150D48 #24167C #3320B0

Accessibility & contrast

On white

17.75
#150D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D48
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D48#FFFFFF#000000##FFFFFF
##150D481.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150d48;
/* rgb */ color: rgb(21, 13, 72);
/* oklch */ color: oklch(22.0% 0.103 279.8);
Tailwind
colors: {
  custom: {
    50: '#5b4c7c',
    500: '#150d48',
    950: '#000000',
  },
}
SCSS
$custom: #150d48;
$custom-light: #5b4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150d48",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 248.136,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2197,
    "c": 0.10309,
    "h": 279.8
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#150D48
secondary
#78832D
accent
#EC3CD4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150D48

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

Preview Lab → · Contrast checker → · Palette generator →

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