#150F54#150F54

#150F54 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.7% C 0.118 H 276.4°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#150F54
RGBrgb(21, 15, 84)
HSLhsl(245, 70%, 19%)
HSVhsv(245, 82%, 33%)
CMYKcmyk(75%, 82.1%, 0%, 67.1%)
CIE-LABlab(10.11, 27.29, -40.44)
CIE-LCHlch(10.11, 48.78, 304.01°)
OKLaboklab(23.7% 0.0131 -0.1169)
OKLCHoklch(23.7% 0.118 276.4)
XYZxyz(2.0798, 1.1410, 8.4964)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F54 #4E540F
analogous
#0F2C54 #150F54 #380F54
triadic
#150F54 #54150F #0F5415
tetradic
#150F54 #540F2C #4E540F #0F5438
square
#150F54 #540F2C #4E540F #0F5438
split-complementary
#150F54 #54380F #2C540F
monochromatic
#06051A #080620 #150F54 #221888 #2F22BC

Accessibility & contrast

On white

17.10
#150F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#150F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F54
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F54#FFFFFF#000000##FFFFFF
##150F541.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #150f54;
/* rgb */ color: rgb(21, 15, 84);
/* oklch */ color: oklch(23.7% 0.118 276.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f85',
    500: '#150f54',
    950: '#000000',
  },
}
SCSS
$custom: #150f54;
$custom-light: #5e4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#150f54",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 245.217,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.237,
    "c": 0.11761,
    "h": 276.4
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#150F54
secondary
#868E31
accent
#ED3BDD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #150F54

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

Preview Lab → · Contrast checker → · Palette generator →

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