#150D52#150D52

#150D52 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.117 H 277.3°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#150D52
RGBrgb(21, 13, 82)
HSLhsl(247, 73%, 19%)
HSVhsv(247, 84%, 32%)
CMYKcmyk(74.4%, 84.1%, 0%, 67.8%)
CIE-LABlab(9.45, 27.77, -40.17)
CIE-LCHlch(9.45, 48.83, 304.66°)
OKLaboklab(23.16% 0.0149 -0.1161)
OKLCHoklch(23.16% 0.117 277.3)
XYZxyz(1.9757, 1.0563, 8.0808)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D52 #4A520D
analogous
#0D2752 #150D52 #370D52
triadic
#150D52 #52150D #0D5215
tetradic
#150D52 #520D27 #4A520D #0D5237
square
#150D52 #520D27 #4A520D #0D5237
split-complementary
#150D52 #52370D #27520D
monochromatic
#07041A #07051D #150D52 #231587 #301EBC

Accessibility & contrast

On white

17.34
#150D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#150D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D52
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D52#FFFFFF#000000##FFFFFF
##150D521.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150d52;
/* rgb */ color: rgb(21, 13, 82);
/* oklch */ color: oklch(23.2% 0.117 277.3);
Tailwind
colors: {
  custom: {
    50: '#5d4d83',
    500: '#150d52',
    950: '#000000',
  },
}
SCSS
$custom: #150d52;
$custom-light: #5d4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#150d52",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 246.957,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23162,
    "c": 0.11701,
    "h": 277.3
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#150D52
secondary
#828D2E
accent
#EF38DA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150D52

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

Preview Lab → · Contrast checker → · Palette generator →

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