#150F3A#150F3A

#150F3A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.079 H 283.4°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#150F3A
RGBrgb(21, 15, 58)
HSLhsl(248, 59%, 14%)
HSVhsv(248, 74%, 23%)
CMYKcmyk(63.8%, 74.1%, 0%, 77.3%)
CIE-LABlab(7.29, 17.45, -26.85)
CIE-LCHlch(7.29, 32.02, 303.03°)
OKLaboklab(20.79% 0.0184 -0.0772)
OKLCHoklch(20.79% 0.079 283.4)
XYZxyz(1.2436, 0.8065, 4.0923)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F3A #343A0F
analogous
#0F1F3A #150F3A #2B0F3A
triadic
#150F3A #3A150F #0F3A15
tetradic
#150F3A #3A0F1F #343A0F #0F3A2B
square
#150F3A #3A0F1F #343A0F #0F3A2B
split-complementary
#150F3A #3A2B0F #1F3A0F
monochromatic
#090618 #090618 #150F3A #271C6B #38289B

Accessibility & contrast

On white

18.08
#150F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F3A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F3A#FFFFFF#000000##FFFFFF
##150F3A1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#051A22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150f3a;
/* rgb */ color: rgb(21, 15, 58);
/* oklch */ color: oklch(20.8% 0.079 283.4);
Tailwind
colors: {
  custom: {
    50: '#574d71',
    500: '#150f3a',
    950: '#000000',
  },
}
SCSS
$custom: #150f3a;
$custom-light: #574d71;
$custom-dark: #000000;
JSON
{
  "hex": "#150f3a",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 248.372,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20794,
    "c": 0.07939,
    "h": 283.4
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#150F3A
secondary
#6B7430
accent
#E246CC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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