#150C46#150C46

#150C46 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.101 H 280.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#150C46
RGBrgb(21, 12, 70)
HSLhsl(249, 71%, 16%)
HSVhsv(249, 83%, 27%)
CMYKcmyk(70%, 82.9%, 0%, 72.5%)
CIE-LABlab(7.81, 24.06, -34.54)
CIE-LCHlch(7.81, 42.09, 304.86°)
OKLaboklab(21.58% 0.0189 -0.0997)
OKLCHoklch(21.58% 0.101 280.7)
XYZxyz(1.5459, 0.8645, 5.8786)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C46 #3D460C
analogous
#0C2046 #150C46 #320C46
triadic
#150C46 #46150C #0C4615
tetradic
#150C46 #460C20 #3D460C #0C4632
square
#150C46 #460C20 #3D460C #0C4632
split-complementary
#150C46 #46320C #20460C
monochromatic
#08041A #08041A #150C46 #25157A #341EAE

Accessibility & contrast

On white

17.90
#150C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C46
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C46#FFFFFF#000000##FFFFFF
##150C461.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150c46;
/* rgb */ color: rgb(21, 12, 70);
/* oklch */ color: oklch(21.6% 0.101 280.7);
Tailwind
colors: {
  custom: {
    50: '#5a4c7a',
    500: '#150c46',
    950: '#000000',
  },
}
SCSS
$custom: #150c46;
$custom-light: #5a4c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#150c46",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 249.31,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21578,
    "c": 0.10144,
    "h": 280.7
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#150C46
secondary
#75822C
accent
#ED3AD2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150C46

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

Preview Lab → · Contrast checker → · Palette generator →

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