#150B4B#150B4B

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

Color values

HEX#150B4B
RGBrgb(21, 11, 75)
HSLhsl(249, 74%, 17%)
HSVhsv(249, 85%, 29%)
CMYKcmyk(72%, 85.3%, 0%, 70.6%)
CIE-LABlab(8.19, 26.46, -37.42)
CIE-LCHlch(8.19, 45.83, 305.27°)
OKLaboklab(22.02% 0.0182 -0.108)
OKLCHoklch(22.02% 0.11 279.6)
XYZxyz(1.6985, 0.9066, 6.7407)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B4B #414B0B
analogous
#0B214B #150B4B #350B4B
triadic
#150B4B #4B150B #0B4B15
tetradic
#150B4B #4B0B21 #414B0B #0B4B35
square
#150B4B #4B0B21 #414B0B #0B4B35
split-complementary
#150B4B #4B350B #214B0B
monochromatic
#07041B #07041B #150B4B #241380 #331BB6

Accessibility & contrast

On white

17.78
#150B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B4B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B4B#FFFFFF#000000##FFFFFF
##150B4B1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150b4b;
/* rgb */ color: rgb(21, 11, 75);
/* oklch */ color: oklch(22.0% 0.110 279.6);
Tailwind
colors: {
  custom: {
    50: '#5c4b7e',
    500: '#150b4b',
    950: '#000000',
  },
}
SCSS
$custom: #150b4b;
$custom-light: #5c4b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#150b4b",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 249.375,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22024,
    "c": 0.10955,
    "h": 279.6
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#150B4B
secondary
#79872B
accent
#F137D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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