#150C43#150C43

#150C43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.097 H 281.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#150C43
RGBrgb(21, 12, 67)
HSLhsl(250, 70%, 15%)
HSVhsv(250, 82%, 26%)
CMYKcmyk(68.7%, 82.1%, 0%, 73.7%)
CIE-LABlab(7.47, 22.92, -32.97)
CIE-LCHlch(7.47, 40.16, 304.81°)
OKLaboklab(21.23% 0.0197 -0.0951)
OKLCHoklch(21.23% 0.097 281.7)
XYZxyz(1.4535, 0.8275, 5.3922)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C43 #3A430C
analogous
#0C1E43 #150C43 #300C43
triadic
#150C43 #43150C #0C4315
tetradic
#150C43 #430C1E #3A430C #0C4330
square
#150C43 #430C1E #3A430C #0C4330
split-complementary
#150C43 #43300C #1E430C
monochromatic
#08051A #08051A #150C43 #251577 #361FAB

Accessibility & contrast

On white

18.02
#150C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#150C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C43
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C43#FFFFFF#000000##FFFFFF
##150C431.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150c43;
/* rgb */ color: rgb(21, 12, 67);
/* oklch */ color: oklch(21.2% 0.097 281.7);
Tailwind
colors: {
  custom: {
    50: '#5a4c78',
    500: '#150c43',
    950: '#000000',
  },
}
SCSS
$custom: #150c43;
$custom-light: #5a4c78;
$custom-dark: #000000;
JSON
{
  "hex": "#150c43",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 249.818,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21231,
    "c": 0.09715,
    "h": 281.7
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#150C43
secondary
#717F2C
accent
#EC3BCF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150C43

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

Preview Lab → · Contrast checker → · Palette generator →

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