#150C50#150C50

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

Color values

HEX#150C50
RGBrgb(21, 12, 80)
HSLhsl(248, 74%, 18%)
HSVhsv(248, 85%, 31%)
CMYKcmyk(73.7%, 85%, 0%, 68.6%)
CIE-LABlab(9.00, 27.64, -39.53)
CIE-LCHlch(9.00, 48.24, 304.97°)
OKLaboklab(22.78% 0.016 -0.1142)
OKLCHoklch(22.78% 0.115 278)
XYZxyz(1.8882, 1.0014, 7.6816)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C50 #47500C
analogous
#0C2550 #150C50 #370C50
triadic
#150C50 #50150C #0C5015
tetradic
#150C50 #500C25 #47500C #0C5037
square
#150C50 #500C25 #47500C #0C5037
split-complementary
#150C50 #50370C #25500C
monochromatic
#07041B #07041B #150C50 #231485 #311CBA

Accessibility & contrast

On white

17.49
#150C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C50
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C50#FFFFFF#000000##FFFFFF
##150C501.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150c50;
/* rgb */ color: rgb(21, 12, 80);
/* oklch */ color: oklch(22.8% 0.115 278.0);
Tailwind
colors: {
  custom: {
    50: '#5d4c82',
    500: '#150c50',
    950: '#000000',
  },
}
SCSS
$custom: #150c50;
$custom-light: #5d4c82;
$custom-dark: #000000;
JSON
{
  "hex": "#150c50",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 247.941,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22775,
    "c": 0.11532,
    "h": 278
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#150C50
secondary
#7F8B2C
accent
#F137D8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #150C50

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

Preview Lab → · Contrast checker → · Palette generator →

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