#150C49#150C49

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

Color values

HEX#150C49
RGBrgb(21, 12, 73)
HSLhsl(249, 72%, 17%)
HSVhsv(249, 84%, 29%)
CMYKcmyk(71.2%, 83.6%, 0%, 71.4%)
CIE-LABlab(8.16, 25.15, -36.07)
CIE-LCHlch(8.16, 43.97, 304.88°)
OKLaboklab(21.93% 0.0181 -0.1041)
OKLCHoklch(21.93% 0.106 279.9)
XYZxyz(1.6429, 0.9033, 6.3898)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C49 #40490C
analogous
#0C2249 #150C49 #340C49
triadic
#150C49 #49150C #0C4915
tetradic
#150C49 #490C22 #40490C #0C4934
square
#150C49 #490C22 #40490C #0C4934
split-complementary
#150C49 #49340C #22490C
monochromatic
#08041A #08041A #150C49 #24157E #331DB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##150C49#FFFFFF#000000##FFFFFF
##150C491.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)
#001A4B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150c49;
/* rgb */ color: rgb(21, 12, 73);
/* oklch */ color: oklch(21.9% 0.106 279.9);
Tailwind
colors: {
  custom: {
    50: '#5b4c7c',
    500: '#150c49',
    950: '#000000',
  },
}
SCSS
$custom: #150c49;
$custom-light: #5b4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150c49",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 248.852,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21931,
    "c": 0.10567,
    "h": 279.9
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#150C49
secondary
#78852C
accent
#EE39D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150C49

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

Preview Lab → · Contrast checker → · Palette generator →

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