#150C4D#150C4D

#150C4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.111 H 278.8°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#150C4D
RGBrgb(21, 12, 77)
HSLhsl(248, 73%, 17%)
HSVhsv(248, 84%, 30%)
CMYKcmyk(72.7%, 84.4%, 0%, 69.8%)
CIE-LABlab(8.64, 26.58, -38.06)
CIE-LCHlch(8.64, 46.43, 304.93°)
OKLaboklab(22.41% 0.0169 -0.1099)
OKLCHoklch(22.41% 0.111 278.8)
XYZxyz(1.7799, 0.9580, 7.1109)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C4D #444D0C
analogous
#0C234D #150C4D #360C4D
triadic
#150C4D #4D150C #0C4D15
tetradic
#150C4D #4D0C23 #444D0C #0C4D36
square
#150C4D #4D0C23 #444D0C #0C4D36
split-complementary
#150C4D #4D360C #234D0C
monochromatic
#07041A #07041A #150C4D #231482 #321DB7

Accessibility & contrast

On white

17.62
#150C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C4D
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C4D#FFFFFF#000000##FFFFFF
##150C4D1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4F
Deuteranopia (green-blind)
#00164C
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150c4d;
/* rgb */ color: rgb(21, 12, 77);
/* oklch */ color: oklch(22.4% 0.111 278.8);
Tailwind
colors: {
  custom: {
    50: '#5c4c80',
    500: '#150c4d',
    950: '#000000',
  },
}
SCSS
$custom: #150c4d;
$custom-light: #5c4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#150c4d",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 248.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2241,
    "c": 0.11122,
    "h": 278.8
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#150C4D
secondary
#7C892C
accent
#F038D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #150C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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