#150C56#150C56

#150C56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.5% C 0.123 H 276.6°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#150C56
RGBrgb(21, 12, 86)
HSLhsl(247, 76%, 19%)
HSVhsv(247, 86%, 34%)
CMYKcmyk(75.6%, 86%, 0%, 66.3%)
CIE-LABlab(9.75, 29.74, -42.40)
CIE-LCHlch(9.75, 51.80, 305.05°)
OKLaboklab(23.52% 0.0142 -0.1226)
OKLCHoklch(23.52% 0.123 276.6)
XYZxyz(2.1199, 1.0941, 8.9018)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C56 #4D560C
analogous
#0C2856 #150C56 #3A0C56
triadic
#150C56 #56150C #0C5615
tetradic
#150C56 #560C28 #4D560C #0C563A
square
#150C56 #560C28 #4D560C #0C563A
split-complementary
#150C56 #563A0C #28560C
monochromatic
#07041B #080520 #150C56 #22138C #2F1BC1

Accessibility & contrast

On white

17.23
#150C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C56
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C56#FFFFFF#000000##FFFFFF
##150C561.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #150c56;
/* rgb */ color: rgb(21, 12, 86);
/* oklch */ color: oklch(23.5% 0.123 276.6);
Tailwind
colors: {
  custom: {
    50: '#5f4d87',
    500: '#150c56',
    950: '#000000',
  },
}
SCSS
$custom: #150c56;
$custom-light: #5f4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#150c56",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 247.297,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23518,
    "c": 0.12338,
    "h": 276.6
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #150C56

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

Preview Lab → · Contrast checker → · Palette generator →

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