#150C4B#150C4B

#150C4B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.108 H 279.3°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#150C4B
RGBrgb(21, 12, 75)
HSLhsl(249, 72%, 17%)
HSVhsv(249, 84%, 29%)
CMYKcmyk(72%, 84%, 0%, 70.6%)
CIE-LABlab(8.40, 25.87, -37.07)
CIE-LCHlch(8.40, 45.21, 304.91°)
OKLaboklab(22.17% 0.0175 -0.107)
OKLCHoklch(22.17% 0.108 279.3)
XYZxyz(1.7103, 0.9302, 6.7447)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C4B #424B0C
analogous
#0C234B #150C4B #350C4B
triadic
#150C4B #4B150C #0C4B15
tetradic
#150C4B #4B0C23 #424B0C #0C4B35
square
#150C4B #4B0C23 #424B0C #0C4B35
split-complementary
#150C4B #4B350C #234B0C
monochromatic
#07041A #07041A #150C4B #241480 #331DB5

Accessibility & contrast

On white

17.71
#150C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C4B
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C4B#FFFFFF#000000##FFFFFF
##150C4B1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00164A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150c4b;
/* rgb */ color: rgb(21, 12, 75);
/* oklch */ color: oklch(22.2% 0.108 279.3);
Tailwind
colors: {
  custom: {
    50: '#5c4c7e',
    500: '#150c4b',
    950: '#000000',
  },
}
SCSS
$custom: #150c4b;
$custom-light: #5c4c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#150c4b",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 248.571,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2217,
    "c": 0.10846,
    "h": 279.3
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#150C4B
secondary
#7A872C
accent
#EF39D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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