#150B4F#150B4F

#150B4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.115 H 278.5°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#150B4F
RGBrgb(21, 11, 79)
HSLhsl(249, 76%, 18%)
HSVhsv(249, 86%, 31%)
CMYKcmyk(73.4%, 86.1%, 0%, 69%)
CIE-LABlab(8.68, 27.87, -39.38)
CIE-LCHlch(8.68, 48.24, 305.29°)
OKLaboklab(22.51% 0.0169 -0.1137)
OKLCHoklch(22.51% 0.115 278.5)
XYZxyz(1.8398, 0.9631, 7.4846)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B4F #454F0B
analogous
#0B234F #150B4F #370B4F
triadic
#150B4F #4F150B #0B4F15
tetradic
#150B4F #4F0B23 #454F0B #0B4F37
square
#150B4F #4F0B23 #454F0B #0B4F37
split-complementary
#150B4F #4F370B #234F0B
monochromatic
#07041B #07041B #150B4F #231285 #321ABA

Accessibility & contrast

On white

17.61
#150B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#150B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150B4F
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B4F#FFFFFF#000000##FFFFFF
##150B4F1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B51
Deuteranopia (green-blind)
#00164E
Tritanopia (blue-blind)
#001F2D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150b4f;
/* rgb */ color: rgb(21, 11, 79);
/* oklch */ color: oklch(22.5% 0.115 278.5);
Tailwind
colors: {
  custom: {
    50: '#5d4c81',
    500: '#150b4f',
    950: '#000000',
  },
}
SCSS
$custom: #150b4f;
$custom-light: #5d4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#150b4f",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 248.824,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22514,
    "c": 0.11498,
    "h": 278.5
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#150B4F
secondary
#7D8B2B
accent
#F236D6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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