#150B56#150B56

#150B56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.4% C 0.124 H 276.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#150B56
RGBrgb(21, 11, 86)
HSLhsl(248, 77%, 19%)
HSVhsv(248, 87%, 34%)
CMYKcmyk(75.6%, 87.2%, 0%, 66.3%)
CIE-LABlab(9.57, 30.29, -42.71)
CIE-LCHlch(9.57, 52.36, 305.34°)
OKLaboklab(23.39% 0.0147 -0.1234)
OKLCHoklch(23.39% 0.124 276.8)
XYZxyz(2.1081, 1.0705, 8.8978)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B56 #4C560B
analogous
#0B2756 #150B56 #3B0B56
triadic
#150B56 #56150B #0B5615
tetradic
#150B56 #560B27 #4C560B #0B563B
square
#150B56 #560B27 #4C560B #0B563B
split-complementary
#150B56 #563B0B #27560B
monochromatic
#07031B #080420 #150B56 #22128C #2F19C3

Accessibility & contrast

On white

17.30
#150B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#150B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B56
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B56#FFFFFF#000000##FFFFFF
##150B561.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150b56;
/* rgb */ color: rgb(21, 11, 86);
/* oklch */ color: oklch(23.4% 0.124 276.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c87',
    500: '#150b56',
    950: '#000000',
  },
}
SCSS
$custom: #150b56;
$custom-light: #5f4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#150b56",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 248,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23389,
    "c": 0.12431,
    "h": 276.8
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#150B56
secondary
#84912B
accent
#F434DA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150B56

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

Preview Lab → · Contrast checker → · Palette generator →

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