#150C4A#150C4A

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

Color values

HEX#150C4A
RGBrgb(21, 12, 74)
HSLhsl(249, 72%, 17%)
HSVhsv(249, 84%, 29%)
CMYKcmyk(71.6%, 83.8%, 0%, 71%)
CIE-LABlab(8.28, 25.51, -36.57)
CIE-LCHlch(8.28, 44.59, 304.90°)
OKLaboklab(22.05% 0.0178 -0.1056)
OKLCHoklch(22.05% 0.107 279.6)
XYZxyz(1.6764, 0.9167, 6.5658)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C4A #414A0C
analogous
#0C224A #150C4A #340C4A
triadic
#150C4A #4A150C #0C4A15
tetradic
#150C4A #4A0C22 #414A0C #0C4A34
square
#150C4A #4A0C22 #414A0C #0C4A34
split-complementary
#150C4A #4A340C #224A0C
monochromatic
#07041A #07041A #150C4A #24157F #331DB3

Accessibility & contrast

On white

17.75
#150C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C4A
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C4A#FFFFFF#000000##FFFFFF
##150C4A1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150c4a;
/* rgb */ color: rgb(21, 12, 74);
/* oklch */ color: oklch(22.1% 0.107 279.6);
Tailwind
colors: {
  custom: {
    50: '#5b4c7d',
    500: '#150c4a',
    950: '#000000',
  },
}
SCSS
$custom: #150c4a;
$custom-light: #5b4c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#150c4a",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 248.71,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2205,
    "c": 0.10707,
    "h": 279.6
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#150C4A
secondary
#79862C
accent
#EF39D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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