#150F4A#150F4A

#150F4A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.104 H 278.6°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#150F4A
RGBrgb(21, 15, 74)
HSLhsl(246, 66%, 17%)
HSVhsv(246, 80%, 29%)
CMYKcmyk(71.6%, 79.7%, 0%, 71%)
CIE-LABlab(8.95, 23.60, -35.46)
CIE-LCHlch(8.95, 42.60, 303.65°)
OKLaboklab(22.53% 0.0156 -0.1023)
OKLCHoklch(22.53% 0.104 278.6)
XYZxyz(1.7157, 0.9954, 6.5789)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F4A #444A0F
analogous
#0F264A #150F4A #330F4A
triadic
#150F4A #4A150F #0F4A15
tetradic
#150F4A #4A0F26 #444A0F #0F4A33
square
#150F4A #4A0F26 #444A0F #0F4A33
split-complementary
#150F4A #4A330F #264A0F
monochromatic
#070519 #070519 #150F4A #23197D #3224B0

Accessibility & contrast

On white

17.51
#150F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F4A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F4A#FFFFFF#000000##FFFFFF
##150F4A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150f4a;
/* rgb */ color: rgb(21, 15, 74);
/* oklch */ color: oklch(22.5% 0.104 278.6);
Tailwind
colors: {
  custom: {
    50: '#5b4e7d',
    500: '#150f4a',
    950: '#000000',
  },
}
SCSS
$custom: #150f4a;
$custom-light: #5b4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#150f4a",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 246.102,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22528,
    "c": 0.10352,
    "h": 278.6
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#150F4A
secondary
#7C8430
accent
#E93FD8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #150F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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