#150F48#150F48

#150F48 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.101 H 279.1°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#150F48
RGBrgb(21, 15, 72)
HSLhsl(246, 66%, 17%)
HSVhsv(246, 79%, 28%)
CMYKcmyk(70.8%, 79.2%, 0%, 71.8%)
CIE-LABlab(8.73, 22.86, -34.43)
CIE-LCHlch(8.73, 41.33, 303.58°)
OKLaboklab(22.3% 0.016 -0.0993)
OKLCHoklch(22.3% 0.101 279.1)
XYZxyz(1.6494, 0.9688, 6.2297)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F48 #42480F
analogous
#0F2648 #150F48 #320F48
triadic
#150F48 #48150F #0F4815
tetradic
#150F48 #480F26 #42480F #0F4832
square
#150F48 #480F26 #42480F #0F4832
split-complementary
#150F48 #48320F #26480F
monochromatic
#070519 #070519 #150F48 #241A7B #3324AD

Accessibility & contrast

On white

17.59
#150F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F48
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F48#FFFFFF#000000##FFFFFF
##150F481.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150f48;
/* rgb */ color: rgb(21, 15, 72);
/* oklch */ color: oklch(22.3% 0.101 279.1);
Tailwind
colors: {
  custom: {
    50: '#5b4e7c',
    500: '#150f48',
    950: '#000000',
  },
}
SCSS
$custom: #150f48;
$custom-light: #5b4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150f48",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 246.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22301,
    "c": 0.10063,
    "h": 279.1
  },
  "luminance": 0.00969
}

Semantic roles & 50–950 ramp

primary
#150F48
secondary
#7A8230
accent
#E83FD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150F48

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

Preview Lab → · Contrast checker → · Palette generator →

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