#150C47#150C47

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

Color values

HEX#150C47
RGBrgb(21, 12, 71)
HSLhsl(249, 71%, 16%)
HSVhsv(249, 83%, 28%)
CMYKcmyk(70.4%, 83.1%, 0%, 72.2%)
CIE-LABlab(7.92, 24.43, -35.05)
CIE-LCHlch(7.92, 42.73, 304.87°)
OKLaboklab(21.7% 0.0186 -0.1011)
OKLCHoklch(21.7% 0.103 280.4)
XYZxyz(1.5777, 0.8772, 6.0462)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C47 #3E470C
analogous
#0C2147 #150C47 #330C47
triadic
#150C47 #47150C #0C4715
tetradic
#150C47 #470C21 #3E470C #0C4733
square
#150C47 #470C21 #3E470C #0C4733
split-complementary
#150C47 #47330C #21470C
monochromatic
#08041A #08041A #150C47 #24157B #341EB0

Accessibility & contrast

On white

17.87
#150C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C47
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C47#FFFFFF#000000##FFFFFF
##150C471.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150c47;
/* rgb */ color: rgb(21, 12, 71);
/* oklch */ color: oklch(21.7% 0.103 280.4);
Tailwind
colors: {
  custom: {
    50: '#5b4c7b',
    500: '#150c47',
    950: '#000000',
  },
}
SCSS
$custom: #150c47;
$custom-light: #5b4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150c47",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 249.153,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21695,
    "c": 0.10285,
    "h": 280.4
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#150C47
secondary
#76832C
accent
#EE3AD2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150C47

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

Preview Lab → · Contrast checker → · Palette generator →

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