#150C57#150C57

#150C57 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.125 H 276.4°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#150C57
RGBrgb(21, 12, 87)
HSLhsl(247, 76%, 19%)
HSVhsv(247, 86%, 34%)
CMYKcmyk(75.9%, 86.2%, 0%, 65.9%)
CIE-LABlab(9.88, 30.09, -42.87)
CIE-LCHlch(9.88, 52.38, 305.06°)
OKLaboklab(23.64% 0.0139 -0.1239)
OKLCHoklch(23.64% 0.125 276.4)
XYZxyz(2.1605, 1.1103, 9.1154)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C57 #4E570C
analogous
#0C2957 #150C57 #3B0C57
triadic
#150C57 #57150C #0C5715
tetradic
#150C57 #570C29 #4E570C #0C573B
square
#150C57 #570C29 #4E570C #0C573B
split-complementary
#150C57 #573B0C #29570C
monochromatic
#06041B #080521 #150C57 #22138D #2F1BC3

Accessibility & contrast

On white

17.18
#150C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C57
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C57#FFFFFF#000000##FFFFFF
##150C571.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E59
Deuteranopia (green-blind)
#001856
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150c57;
/* rgb */ color: rgb(21, 12, 87);
/* oklch */ color: oklch(23.6% 0.125 276.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d87',
    500: '#150c57',
    950: '#000000',
  },
}
SCSS
$custom: #150c57;
$custom-light: #5f4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#150c57",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 247.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23643,
    "c": 0.1247,
    "h": 276.4
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#150C57
secondary
#86922D
accent
#F235DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010B
muted
#7A777C

Preview Lab

Preview with #150C57

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

Preview Lab → · Contrast checker → · Palette generator →

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