#150B52#150B52

#150B52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.119 H 277.7°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#150B52
RGBrgb(21, 11, 82)
HSLhsl(248, 76%, 18%)
HSVhsv(248, 87%, 32%)
CMYKcmyk(74.4%, 86.6%, 0%, 67.8%)
CIE-LABlab(9.06, 28.91, -40.82)
CIE-LCHlch(9.06, 50.02, 305.31°)
OKLaboklab(22.89% 0.016 -0.1179)
OKLCHoklch(22.89% 0.119 277.7)
XYZxyz(1.9514, 1.0078, 8.0727)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B52 #48520B
analogous
#0B2452 #150B52 #380B52
triadic
#150B52 #52150B #0B5215
tetradic
#150B52 #520B24 #48520B #0B5238
square
#150B52 #520B24 #48520B #0B5238
split-complementary
#150B52 #52380B #24520B
monochromatic
#07041B #07041C #150B52 #231288 #3119BE

Accessibility & contrast

On white

17.48
#150B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#150B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B52
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B52#FFFFFF#000000##FFFFFF
##150B521.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C54
Deuteranopia (green-blind)
#001751
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150b52;
/* rgb */ color: rgb(21, 11, 82);
/* oklch */ color: oklch(22.9% 0.119 277.7);
Tailwind
colors: {
  custom: {
    50: '#5e4c84',
    500: '#150b52',
    950: '#000000',
  },
}
SCSS
$custom: #150b52;
$custom-light: #5e4c84;
$custom-dark: #000000;
JSON
{
  "hex": "#150b52",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 248.451,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22886,
    "c": 0.11902,
    "h": 277.7
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#150B52
secondary
#808E2B
accent
#F335D8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150B52

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

Preview Lab → · Contrast checker → · Palette generator →

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