#150F56#150F56

#150F56 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.9% C 0.120 H 276.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#150F56
RGBrgb(21, 15, 86)
HSLhsl(245, 70%, 20%)
HSVhsv(245, 83%, 34%)
CMYKcmyk(75.6%, 82.6%, 0%, 66.3%)
CIE-LABlab(10.36, 28.01, -41.41)
CIE-LCHlch(10.36, 49.99, 304.08°)
OKLaboklab(23.94% 0.0126 -0.1197)
OKLCHoklch(23.94% 0.12 276)
XYZxyz(2.1592, 1.1728, 8.9149)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F56 #50560F
analogous
#0F2D56 #150F56 #380F56
triadic
#150F56 #56150F #0F5615
tetradic
#150F56 #560F2D #50560F #0F5638
square
#150F56 #560F2D #50560F #0F5638
split-complementary
#150F56 #56380F #2D560F
monochromatic
#06051A #080622 #150F56 #22188A #2E21BE

Accessibility & contrast

On white

17.01
#150F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F56
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F56#FFFFFF#000000##FFFFFF
##150F561.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.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: #150f56;
/* rgb */ color: rgb(21, 15, 86);
/* oklch */ color: oklch(23.9% 0.120 276.0);
Tailwind
colors: {
  custom: {
    50: '#5e4f87',
    500: '#150f56',
    950: '#000000',
  },
}
SCSS
$custom: #150f56;
$custom-light: #5e4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#150f56",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 245.07,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2394,
    "c": 0.12036,
    "h": 276
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#150F56
secondary
#889031
accent
#ED3BDE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #150F56

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

Preview Lab → · Contrast checker → · Palette generator →

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