#150F39#150F39

#150F39 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.078 H 283.8°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#150F39
RGBrgb(21, 15, 57)
HSLhsl(249, 58%, 14%)
HSVhsv(249, 74%, 22%)
CMYKcmyk(63.2%, 73.7%, 0%, 77.6%)
CIE-LABlab(7.19, 17.05, -26.27)
CIE-LCHlch(7.19, 31.32, 302.98°)
OKLaboklab(20.69% 0.0185 -0.0756)
OKLCHoklch(20.69% 0.078 283.8)
XYZxyz(1.2184, 0.7964, 3.9596)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F39 #33390F
analogous
#0F1E39 #150F39 #2A0F39
triadic
#150F39 #39150F #0F3915
tetradic
#150F39 #390F1E #33390F #0F392A
square
#150F39 #390F1E #33390F #0F392A
split-complementary
#150F39 #392A0F #1E390F
monochromatic
#090618 #090618 #150F39 #271C69 #39299A

Accessibility & contrast

On white

18.12
#150F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150F39
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F39#FFFFFF#000000##FFFFFF
##150F391.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#061922
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150f39;
/* rgb */ color: rgb(21, 15, 57);
/* oklch */ color: oklch(20.7% 0.078 283.8);
Tailwind
colors: {
  custom: {
    50: '#574d70',
    500: '#150f39',
    950: '#000000',
  },
}
SCSS
$custom: #150f39;
$custom-light: #574d70;
$custom-dark: #000000;
JSON
{
  "hex": "#150f39",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 248.571,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20693,
    "c": 0.07781,
    "h": 283.8
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#150F39
secondary
#6A7330
accent
#E246CB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #150F39

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

Preview Lab → · Contrast checker → · Palette generator →

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