#150F47#150F47

#150F47 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.099 H 279.4°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#150F47
RGBrgb(21, 15, 71)
HSLhsl(246, 65%, 17%)
HSVhsv(246, 79%, 28%)
CMYKcmyk(70.4%, 78.9%, 0%, 72.2%)
CIE-LABlab(8.62, 22.48, -33.91)
CIE-LCHlch(8.62, 40.69, 303.55°)
OKLaboklab(22.19% 0.0162 -0.0978)
OKLCHoklch(22.19% 0.099 279.4)
XYZxyz(1.6171, 0.9559, 6.0593)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F47 #41470F
analogous
#0F2547 #150F47 #310F47
triadic
#150F47 #47150F #0F4715
tetradic
#150F47 #470F25 #41470F #0F4731
square
#150F47 #470F25 #41470F #0F4731
split-complementary
#150F47 #47310F #25470F
monochromatic
#070519 #070519 #150F47 #241A7A #3324AC

Accessibility & contrast

On white

17.63
#150F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F47
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F47#FFFFFF#000000##FFFFFF
##150F471.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150f47;
/* rgb */ color: rgb(21, 15, 71);
/* oklch */ color: oklch(22.2% 0.099 279.4);
Tailwind
colors: {
  custom: {
    50: '#5a4e7b',
    500: '#150f47',
    950: '#000000',
  },
}
SCSS
$custom: #150f47;
$custom-light: #5a4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150f47",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 246.429,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22188,
    "c": 0.09916,
    "h": 279.4
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#150F47
secondary
#798130
accent
#E840D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150F47

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

Preview Lab → · Contrast checker → · Palette generator →

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