#150C55#150C55

#150C55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.4% C 0.122 H 276.8°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#150C55
RGBrgb(21, 12, 85)
HSLhsl(247, 75%, 19%)
HSVhsv(247, 86%, 33%)
CMYKcmyk(75.3%, 85.9%, 0%, 66.7%)
CIE-LABlab(9.63, 29.40, -41.93)
CIE-LCHlch(9.63, 51.21, 305.03°)
OKLaboklab(23.39% 0.0145 -0.1212)
OKLCHoklch(23.39% 0.122 276.8)
XYZxyz(2.0799, 1.0781, 8.6910)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C55 #4C550C
analogous
#0C2855 #150C55 #3A0C55
triadic
#150C55 #55150C #0C5515
tetradic
#150C55 #550C28 #4C550C #0C553A
square
#150C55 #550C28 #4C550C #0C553A
split-complementary
#150C55 #553A0C #28550C
monochromatic
#07041B #08041F #150C55 #22148B #2F1BC0

Accessibility & contrast

On white

17.28
#150C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C55
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C55#FFFFFF#000000##FFFFFF
##150C551.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001854
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150c55;
/* rgb */ color: rgb(21, 12, 85);
/* oklch */ color: oklch(23.4% 0.122 276.8);
Tailwind
colors: {
  custom: {
    50: '#5e4d86',
    500: '#150c55',
    950: '#000000',
  },
}
SCSS
$custom: #150c55;
$custom-light: #5e4d86;
$custom-dark: #000000;
JSON
{
  "hex": "#150c55",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 247.397,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23393,
    "c": 0.12205,
    "h": 276.8
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#150C55
secondary
#84902D
accent
#F236DB
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150C55

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

Preview Lab → · Contrast checker → · Palette generator →

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