#150F42#150F42

#150F42 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.092 H 280.8°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#150F42
RGBrgb(21, 15, 66)
HSLhsl(247, 63%, 16%)
HSVhsv(247, 77%, 26%)
CMYKcmyk(68.2%, 77.3%, 0%, 74.1%)
CIE-LABlab(8.08, 20.60, -31.27)
CIE-LCHlch(8.08, 37.45, 303.37°)
OKLaboklab(21.64% 0.0172 -0.0901)
OKLCHoklch(21.64% 0.092 280.8)
XYZxyz(1.4631, 0.8943, 5.2487)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F42 #3C420F
analogous
#0F2242 #150F42 #2E0F42
triadic
#150F42 #42150F #0F4215
tetradic
#150F42 #420F22 #3C420F #0F422E
square
#150F42 #420F22 #3C420F #0F422E
split-complementary
#150F42 #422E0F #22420F
monochromatic
#080619 #080619 #150F42 #251A74 #3526A6

Accessibility & contrast

On white

17.81
#150F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#150F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F42
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F42#FFFFFF#000000##FFFFFF
##150F421.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #150f42;
/* rgb */ color: rgb(21, 15, 66);
/* oklch */ color: oklch(21.6% 0.092 280.8);
Tailwind
colors: {
  custom: {
    50: '#594d77',
    500: '#150f42',
    950: '#000000',
  },
}
SCSS
$custom: #150f42;
$custom-light: #594d77;
$custom-dark: #000000;
JSON
{
  "hex": "#150f42",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 247.059,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21636,
    "c": 0.09173,
    "h": 280.8
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#150F42
secondary
#747C30
accent
#E642D3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150F42

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

Preview Lab → · Contrast checker → · Palette generator →

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