#150F40#150F40

#150F40 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.089 H 281.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#150F40
RGBrgb(21, 15, 64)
HSLhsl(247, 62%, 15%)
HSVhsv(247, 77%, 25%)
CMYKcmyk(67.2%, 76.6%, 0%, 74.9%)
CIE-LABlab(7.87, 19.83, -30.20)
CIE-LCHlch(7.87, 36.13, 303.30°)
OKLaboklab(21.42% 0.0175 -0.0869)
OKLCHoklch(21.42% 0.089 281.4)
XYZxyz(1.4052, 0.8711, 4.9436)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F40 #3A400F
analogous
#0F2140 #150F40 #2D0F40
triadic
#150F40 #40150F #0F4015
tetradic
#150F40 #400F21 #3A400F #0F402D
square
#150F40 #400F21 #3A400F #0F402D
split-complementary
#150F40 #402D0F #21400F
monochromatic
#080619 #080619 #150F40 #251B72 #3626A3

Accessibility & contrast

On white

17.88
#150F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F40
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F40#FFFFFF#000000##FFFFFF
##150F401.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #150f40;
/* rgb */ color: rgb(21, 15, 64);
/* oklch */ color: oklch(21.4% 0.089 281.4);
Tailwind
colors: {
  custom: {
    50: '#584d75',
    500: '#150f40',
    950: '#000000',
  },
}
SCSS
$custom: #150f40;
$custom-light: #584d75;
$custom-dark: #000000;
JSON
{
  "hex": "#150f40",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 247.347,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21421,
    "c": 0.0887,
    "h": 281.4
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#150F40
secondary
#717A30
accent
#E543D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150F40

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

Preview Lab → · Contrast checker → · Palette generator →

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