#150D46#150D46

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

Color values

HEX#150D46
RGBrgb(21, 13, 70)
HSLhsl(248, 69%, 16%)
HSVhsv(248, 81%, 27%)
CMYKcmyk(70%, 81.4%, 0%, 72.5%)
CIE-LABlab(8.03, 23.43, -34.17)
CIE-LCHlch(8.03, 41.43, 304.43°)
OKLaboklab(21.74% 0.0181 -0.0986)
OKLCHoklch(21.74% 0.1 280.4)
XYZxyz(1.5583, 0.8894, 5.8827)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D46 #3E460D
analogous
#0D2246 #150D46 #320D46
triadic
#150D46 #46150D #0D4615
tetradic
#150D46 #460D22 #3E460D #0D4632
square
#150D46 #460D22 #3E460D #0D4632
split-complementary
#150D46 #46320D #22460D
monochromatic
#08051A #08051A #150D46 #24177A #3420AD

Accessibility & contrast

On white

17.83
#150D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D46
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D46#FFFFFF#000000##FFFFFF
##150D461.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150d46;
/* rgb */ color: rgb(21, 13, 70);
/* oklch */ color: oklch(21.7% 0.100 280.4);
Tailwind
colors: {
  custom: {
    50: '#5a4c7a',
    500: '#150d46',
    950: '#000000',
  },
}
SCSS
$custom: #150d46;
$custom-light: #5a4c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#150d46",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 248.421,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21738,
    "c": 0.10023,
    "h": 280.4
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#150D46
secondary
#76812D
accent
#EC3CD3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150D46

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

Preview Lab → · Contrast checker → · Palette generator →

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