#150E56#150E56

#150E56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.121 H 276.2°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#150E56
RGBrgb(21, 14, 86)
HSLhsl(246, 72%, 20%)
HSVhsv(246, 84%, 34%)
CMYKcmyk(75.6%, 83.7%, 0%, 66.3%)
CIE-LABlab(10.15, 28.61, -41.75)
CIE-LCHlch(10.15, 50.61, 304.42°)
OKLaboklab(23.79% 0.0132 -0.1207)
OKLCHoklch(23.79% 0.121 276.2)
XYZxyz(2.1455, 1.1452, 8.9103)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E56 #4F560E
analogous
#0E2B56 #150E56 #390E56
triadic
#150E56 #56150E #0E5615
tetradic
#150E56 #560E2B #4F560E #0E5639
square
#150E56 #560E2B #4F560E #0E5639
split-complementary
#150E56 #56390E #2B560E
monochromatic
#06041A #080521 #150E56 #22178B #2F1FBF

Accessibility & contrast

On white

17.09
#150E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E56
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E56#FFFFFF#000000##FFFFFF
##150E561.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #150e56;
/* rgb */ color: rgb(21, 14, 86);
/* oklch */ color: oklch(23.8% 0.121 276.2);
Tailwind
colors: {
  custom: {
    50: '#5e4e87',
    500: '#150e56',
    950: '#000000',
  },
}
SCSS
$custom: #150e56;
$custom-light: #5e4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#150e56",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 245.833,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23794,
    "c": 0.1214,
    "h": 276.2
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#150E56
secondary
#879030
accent
#EF39DD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150E56

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

Preview Lab → · Contrast checker → · Palette generator →

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