#150D54#150D54

#150D54 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.120 H 276.9°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#150D54
RGBrgb(21, 13, 84)
HSLhsl(247, 73%, 19%)
HSVhsv(247, 85%, 33%)
CMYKcmyk(75%, 84.5%, 0%, 67.1%)
CIE-LABlab(9.70, 28.48, -41.13)
CIE-LCHlch(9.70, 50.03, 304.70°)
OKLaboklab(23.41% 0.0143 -0.1189)
OKLCHoklch(23.41% 0.12 276.9)
XYZxyz(2.0529, 1.0872, 8.4874)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D54 #4C540D
analogous
#0D2954 #150D54 #390D54
triadic
#150D54 #54150D #0D5415
tetradic
#150D54 #540D29 #4C540D #0D5439
square
#150D54 #540D29 #4C540D #0D5439
split-complementary
#150D54 #54390D #29540D
monochromatic
#07041A #08051F #150D54 #221589 #301DBE

Accessibility & contrast

On white

17.25
#150D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#150D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150D54
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D54#FFFFFF#000000##FFFFFF
##150D541.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150d54;
/* rgb */ color: rgb(21, 13, 84);
/* oklch */ color: oklch(23.4% 0.120 276.9);
Tailwind
colors: {
  custom: {
    50: '#5e4d85',
    500: '#150d54',
    950: '#000000',
  },
}
SCSS
$custom: #150d54;
$custom-light: #5e4d85;
$custom-dark: #000000;
JSON
{
  "hex": "#150d54",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 246.761,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23407,
    "c": 0.11971,
    "h": 276.9
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#150D54
secondary
#848F2E
accent
#F038DB
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150D54

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

Preview Lab → · Contrast checker → · Palette generator →

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