#150B4C#150B4C

#150B4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.111 H 279.3°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#150B4C
RGBrgb(21, 11, 76)
HSLhsl(249, 75%, 17%)
HSVhsv(249, 86%, 30%)
CMYKcmyk(72.4%, 85.5%, 0%, 70.2%)
CIE-LABlab(8.31, 26.82, -37.91)
CIE-LCHlch(8.31, 46.44, 305.27°)
OKLaboklab(22.15% 0.0179 -0.1095)
OKLCHoklch(22.15% 0.111 279.3)
XYZxyz(1.7330, 0.9204, 6.9224)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B4C #424C0B
analogous
#0B224C #150B4C #360B4C
triadic
#150B4C #4C150B #0B4C15
tetradic
#150B4C #4C0B22 #424C0B #0B4C36
square
#150B4C #4C0B22 #424C0B #0B4C36
split-complementary
#150B4C #4C360B #224C0B
monochromatic
#07041B #07041B #150B4C #241381 #331AB7

Accessibility & contrast

On white

17.73
#150B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B4C
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B4C#FFFFFF#000000##FFFFFF
##150B4C1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150b4c;
/* rgb */ color: rgb(21, 11, 76);
/* oklch */ color: oklch(22.1% 0.111 279.3);
Tailwind
colors: {
  custom: {
    50: '#5c4c7f',
    500: '#150b4c',
    950: '#000000',
  },
}
SCSS
$custom: #150b4c;
$custom-light: #5c4c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#150b4c",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 249.231,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22145,
    "c": 0.11091,
    "h": 279.3
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#150B4C
secondary
#7A882B
accent
#F136D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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