#150D4F#150D4F

#150D4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.8% C 0.113 H 278.0°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#150D4F
RGBrgb(21, 13, 79)
HSLhsl(247, 72%, 18%)
HSVhsv(247, 84%, 31%)
CMYKcmyk(73.4%, 83.5%, 0%, 69%)
CIE-LABlab(9.09, 26.70, -38.70)
CIE-LCHlch(9.09, 47.02, 304.60°)
OKLaboklab(22.8% 0.0157 -0.1118)
OKLCHoklch(22.8% 0.113 278)
XYZxyz(1.8640, 1.0116, 7.4927)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150D4F #474F0D
analogous
#0D264F #150D4F #360D4F
triadic
#150D4F #4F150D #0D4F15
tetradic
#150D4F #4F0D26 #474F0D #0D4F36
square
#150D4F #4F0D26 #474F0D #0D4F36
split-complementary
#150D4F #4F360D #264F0D
monochromatic
#07041A #07041A #150D4F #231684 #311EB8

Accessibility & contrast

On white

17.47
#150D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150D4F
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150D4F#FFFFFF#000000##FFFFFF
##150D4F1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00174E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150d4f;
/* rgb */ color: rgb(21, 13, 79);
/* oklch */ color: oklch(22.8% 0.113 278.0);
Tailwind
colors: {
  custom: {
    50: '#5d4d81',
    500: '#150d4f',
    950: '#000000',
  },
}
SCSS
$custom: #150d4f;
$custom-light: #5d4d81;
$custom-dark: #000000;
JSON
{
  "hex": "#150d4f",
  "rgb": {
    "r": 21,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 247.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22799,
    "c": 0.1129,
    "h": 278
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#150D4F
secondary
#7F8A2E
accent
#EE39D9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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