#150F49#150F49

#150F49 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.102 H 278.9°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#150F49
RGBrgb(21, 15, 73)
HSLhsl(246, 66%, 17%)
HSVhsv(246, 79%, 29%)
CMYKcmyk(71.2%, 79.5%, 0%, 71.4%)
CIE-LABlab(8.84, 23.23, -34.95)
CIE-LCHlch(8.84, 41.96, 303.62°)
OKLaboklab(22.41% 0.0158 -0.1008)
OKLCHoklch(22.41% 0.102 278.9)
XYZxyz(1.6823, 0.9820, 6.4029)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F49 #43490F
analogous
#0F2649 #150F49 #320F49
triadic
#150F49 #49150F #0F4915
tetradic
#150F49 #490F26 #43490F #0F4932
square
#150F49 #490F26 #43490F #0F4932
split-complementary
#150F49 #49320F #26490F
monochromatic
#070519 #070519 #150F49 #24197C #3224AF

Accessibility & contrast

On white

17.55
#150F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#150F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F49
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F49#FFFFFF#000000##FFFFFF
##150F491.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150f49;
/* rgb */ color: rgb(21, 15, 73);
/* oklch */ color: oklch(22.4% 0.102 278.9);
Tailwind
colors: {
  custom: {
    50: '#5b4e7c',
    500: '#150f49',
    950: '#000000',
  },
}
SCSS
$custom: #150f49;
$custom-light: #5b4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#150f49",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 246.207,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22414,
    "c": 0.10208,
    "h": 278.9
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#150F49
secondary
#7B8330
accent
#E93FD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150F49

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

Preview Lab → · Contrast checker → · Palette generator →

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