#150D56#150D56

#150D56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.122 H 276.4°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#150D56
RGBrgb(21, 13, 86)
HSLhsl(247, 74%, 19%)
HSVhsv(247, 85%, 34%)
CMYKcmyk(75.6%, 84.9%, 0%, 66.3%)
CIE-LABlab(9.95, 29.18, -42.08)
CIE-LCHlch(9.95, 51.21, 304.74°)
OKLaboklab(23.65% 0.0137 -0.1216)
OKLCHoklch(23.65% 0.122 276.4)
XYZxyz(2.1323, 1.1190, 8.9059)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D56 #4E560D
analogous
#0D2A56 #150D56 #3A0D56
triadic
#150D56 #56150D #0D5615
tetradic
#150D56 #560D2A #4E560D #0D563A
square
#150D56 #560D2A #4E560D #0D563A
split-complementary
#150D56 #563A0D #2A560D
monochromatic
#06041B #080521 #150D56 #22158B #2F1DC0

Accessibility & contrast

On white

17.16
#150D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#150D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D56
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D56#FFFFFF#000000##FFFFFF
##150D561.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150d56;
/* rgb */ color: rgb(21, 13, 86);
/* oklch */ color: oklch(23.7% 0.122 276.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d87',
    500: '#150d56',
    950: '#000000',
  },
}
SCSS
$custom: #150d56;
$custom-light: #5f4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#150d56",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 246.575,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23653,
    "c": 0.12241,
    "h": 276.4
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#150D56
secondary
#86912E
accent
#F037DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150D56

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

Preview Lab → · Contrast checker → · Palette generator →

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