#150C4C#150C4C

#150C4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.3% C 0.110 H 279.0°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#150C4C
RGBrgb(21, 12, 76)
HSLhsl(248, 73%, 17%)
HSVhsv(248, 84%, 30%)
CMYKcmyk(72.4%, 84.2%, 0%, 70.2%)
CIE-LABlab(8.52, 26.23, -37.57)
CIE-LCHlch(8.52, 45.82, 304.92°)
OKLaboklab(22.29% 0.0172 -0.1085)
OKLCHoklch(22.29% 0.11 279)
XYZxyz(1.7448, 0.9440, 6.9263)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C4C #434C0C
analogous
#0C234C #150C4C #350C4C
triadic
#150C4C #4C150C #0C4C15
tetradic
#150C4C #4C0C23 #434C0C #0C4C35
square
#150C4C #4C0C23 #434C0C #0C4C35
split-complementary
#150C4C #4C350C #234C0C
monochromatic
#07041A #07041A #150C4C #241481 #321DB6

Accessibility & contrast

On white

17.66
#150C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C4C
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C4C#FFFFFF#000000##FFFFFF
##150C4C1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150c4c;
/* rgb */ color: rgb(21, 12, 76);
/* oklch */ color: oklch(22.3% 0.110 279.0);
Tailwind
colors: {
  custom: {
    50: '#5c4c7f',
    500: '#150c4c',
    950: '#000000',
  },
}
SCSS
$custom: #150c4c;
$custom-light: #5c4c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#150c4c",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 248.438,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2229,
    "c": 0.10985,
    "h": 279
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#150C4C
secondary
#7B882C
accent
#EF38D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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