#150D5D#150D5D

#150D5D is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.5% C 0.132 H 275.1°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#150D5D
RGBrgb(21, 13, 93)
HSLhsl(246, 75%, 21%)
HSVhsv(246, 86%, 36%)
CMYKcmyk(77.4%, 86%, 0%, 63.5%)
CIE-LABlab(10.83, 31.61, -45.35)
CIE-LCHlch(10.83, 55.28, 304.88°)
OKLaboklab(24.53% 0.0116 -0.1311)
OKLCHoklch(24.53% 0.132 275.1)
XYZxyz(2.4283, 1.2374, 10.4647)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D5D #555D0D
analogous
#0D2D5D #150D5D #3D0D5D
triadic
#150D5D #5D150D #0D5D15
tetradic
#150D5D #5D0D2D #555D0D #0D5D3D
square
#150D5D #5D0D2D #555D0D #0D5D3D
split-complementary
#150D5D #5D3D0D #2D5D0D
monochromatic
#06041B #090527 #150D5D #211593 #2D1CC8

Accessibility & contrast

On white

16.83
#150D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#150D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D5D
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D5D#FFFFFF#000000##FFFFFF
##150D5D1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#00195C
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #150d5d;
/* rgb */ color: rgb(21, 13, 93);
/* oklch */ color: oklch(24.5% 0.132 275.1);
Tailwind
colors: {
  custom: {
    50: '#604e8c',
    500: '#150d5d',
    950: '#000000',
  },
}
SCSS
$custom: #150d5d;
$custom-light: #604e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#150d5d",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 246,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24528,
    "c": 0.13166,
    "h": 275.1
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#150D5D
secondary
#8D972F
accent
#F236DF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #150D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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