#150D49#150D49

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

Color values

HEX#150D49
RGBrgb(21, 13, 73)
HSLhsl(248, 70%, 17%)
HSVhsv(248, 82%, 29%)
CMYKcmyk(71.2%, 82.2%, 0%, 71.4%)
CIE-LABlab(8.38, 24.53, -35.71)
CIE-LCHlch(8.38, 43.32, 304.49°)
OKLaboklab(22.09% 0.0173 -0.1031)
OKLCHoklch(22.09% 0.105 279.6)
XYZxyz(1.6554, 0.9282, 6.3940)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D49 #41490D
analogous
#0D2349 #150D49 #330D49
triadic
#150D49 #49150D #0D4915
tetradic
#150D49 #490D23 #41490D #0D4933
square
#150D49 #490D23 #41490D #0D4933
split-complementary
#150D49 #49330D #23490D
monochromatic
#07051A #07051A #150D49 #24167D #3320B1

Accessibility & contrast

On white

17.71
#150D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D49
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D49#FFFFFF#000000##FFFFFF
##150D491.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150d49;
/* rgb */ color: rgb(21, 13, 73);
/* oklch */ color: oklch(22.1% 0.105 279.6);
Tailwind
colors: {
  custom: {
    50: '#5b4d7c',
    500: '#150d49',
    950: '#000000',
  },
}
SCSS
$custom: #150d49;
$custom-light: #5b4d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150d49",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 248,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22086,
    "c": 0.10451,
    "h": 279.6
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#150D49
secondary
#79842D
accent
#ED3BD5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150D49

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

Preview Lab → · Contrast checker → · Palette generator →

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