#150E47#150E47

#150E47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.100 H 279.8°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#150E47
RGBrgb(21, 14, 71)
HSLhsl(247, 67%, 17%)
HSVhsv(247, 80%, 28%)
CMYKcmyk(70.4%, 80.3%, 0%, 72.2%)
CIE-LABlab(8.38, 23.15, -34.30)
CIE-LCHlch(8.38, 41.38, 304.01°)
OKLaboklab(22.02% 0.017 -0.099)
OKLCHoklch(22.02% 0.1 279.8)
XYZxyz(1.6033, 0.9283, 6.0547)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150E47 #40470E
analogous
#0E2447 #150E47 #320E47
triadic
#150E47 #47150E #0E4715
tetradic
#150E47 #470E24 #40470E #0E4732
square
#150E47 #470E24 #40470E #0E4732
split-complementary
#150E47 #47320E #24470E
monochromatic
#08051A #08051A #150E47 #24187A #3322AD

Accessibility & contrast

On white

17.71
#150E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150E47
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150E47#FFFFFF#000000##FFFFFF
##150E471.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150e47;
/* rgb */ color: rgb(21, 14, 71);
/* oklch */ color: oklch(22.0% 0.100 279.8);
Tailwind
colors: {
  custom: {
    50: '#5a4d7b',
    500: '#150e47',
    950: '#000000',
  },
}
SCSS
$custom: #150e47;
$custom-light: #5a4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#150e47",
  "rgb": {
    "r": 21,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 247.368,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22018,
    "c": 0.10043,
    "h": 279.8
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#150E47
secondary
#78822F
accent
#EA3ED5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150E47

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

Preview Lab → · Contrast checker → · Palette generator →

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