#150D47#150D47

#150D47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.102 H 280.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#150D47
RGBrgb(21, 13, 71)
HSLhsl(248, 69%, 16%)
HSVhsv(248, 82%, 28%)
CMYKcmyk(70.4%, 81.7%, 0%, 72.2%)
CIE-LABlab(8.15, 23.80, -34.69)
CIE-LCHlch(8.15, 42.06, 304.45°)
OKLaboklab(21.85% 0.0179 -0.1001)
OKLCHoklch(21.85% 0.102 280.1)
XYZxyz(1.5902, 0.9021, 6.0503)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D47 #3F470D
analogous
#0D2247 #150D47 #320D47
triadic
#150D47 #47150D #0D4715
tetradic
#150D47 #470D22 #3F470D #0D4732
square
#150D47 #470D22 #3F470D #0D4732
split-complementary
#150D47 #47320D #22470D
monochromatic
#08051A #08051A #150D47 #24167B #3420AE

Accessibility & contrast

On white

17.79
#150D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D47
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D47#FFFFFF#000000##FFFFFF
##150D471.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150d47;
/* rgb */ color: rgb(21, 13, 71);
/* oklch */ color: oklch(21.9% 0.102 280.1);
Tailwind
colors: {
  custom: {
    50: '#5b4c7b',
    500: '#150d47',
    950: '#000000',
  },
}
SCSS
$custom: #150d47;
$custom-light: #5b4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150d47",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 248.276,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21854,
    "c": 0.10166,
    "h": 280.1
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#150D47
secondary
#77822D
accent
#EC3CD4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150D47

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

Preview Lab → · Contrast checker → · Palette generator →

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