#150B50#150B50

#150B50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.116 H 278.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#150B50
RGBrgb(21, 11, 80)
HSLhsl(249, 76%, 18%)
HSVhsv(249, 86%, 31%)
CMYKcmyk(73.7%, 86.3%, 0%, 68.6%)
CIE-LABlab(8.81, 28.22, -39.86)
CIE-LCHlch(8.81, 48.84, 305.29°)
OKLaboklab(22.64% 0.0166 -0.1151)
OKLCHoklch(22.64% 0.116 278.2)
XYZxyz(1.8764, 0.9778, 7.6777)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150B50 #46500B
analogous
#0B2350 #150B50 #370B50
triadic
#150B50 #50150B #0B5015
tetradic
#150B50 #500B23 #46500B #0B5037
square
#150B50 #500B23 #46500B #0B5037
split-complementary
#150B50 #50370B #23500B
monochromatic
#07041B #07041B #150B50 #231286 #311ABC

Accessibility & contrast

On white

17.56
#150B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150B50
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150B50#FFFFFF#000000##FFFFFF
##150B501.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C52
Deuteranopia (green-blind)
#00164F
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #150b50;
/* rgb */ color: rgb(21, 11, 80);
/* oklch */ color: oklch(22.6% 0.116 278.2);
Tailwind
colors: {
  custom: {
    50: '#5d4c82',
    500: '#150b50',
    950: '#000000',
  },
}
SCSS
$custom: #150b50;
$custom-light: #5d4c82;
$custom-dark: #000000;
JSON
{
  "hex": "#150b50",
  "rgb": {
    "r": 21,
    "g": 11,
    "b": 80
  },
  "hsl": {
    "h": 248.696,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22637,
    "c": 0.11633,
    "h": 278.2
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#150B50
secondary
#7E8C2B
accent
#F235D7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150B50

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

Preview Lab → · Contrast checker → · Palette generator →

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