#150B48#150B48

#150B48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.105 H 280.4°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#150B48
RGBrgb(21, 11, 72)
HSLhsl(250, 73%, 16%)
HSVhsv(250, 85%, 28%)
CMYKcmyk(70.8%, 84.7%, 0%, 71.8%)
CIE-LABlab(7.83, 25.40, -35.92)
CIE-LCHlch(7.83, 43.99, 305.26°)
OKLaboklab(21.66% 0.0191 -0.1037)
OKLCHoklch(21.66% 0.105 280.4)
XYZxyz(1.5983, 0.8665, 6.2127)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B48 #3E480B
analogous
#0B2048 #150B48 #340B48
triadic
#150B48 #48150B #0B4815
tetradic
#150B48 #480B20 #3E480B #0B4834
square
#150B48 #480B20 #3E480B #0B4834
split-complementary
#150B48 #48340B #20480B
monochromatic
#08041B #08041B #150B48 #24137D #341BB2

Accessibility & contrast

On white

17.90
#150B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B48
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B48#FFFFFF#000000##FFFFFF
##150B481.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150b48;
/* rgb */ color: rgb(21, 11, 72);
/* oklch */ color: oklch(21.7% 0.105 280.4);
Tailwind
colors: {
  custom: {
    50: '#5b4b7c',
    500: '#150b48',
    950: '#000000',
  },
}
SCSS
$custom: #150b48;
$custom-light: #5b4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150b48",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 249.836,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21662,
    "c": 0.1054,
    "h": 280.4
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#150B48
secondary
#76842A
accent
#F038D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150B48

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

Preview Lab → · Contrast checker → · Palette generator →

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