#15112E#15112E

#15112E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.056 H 286.5°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#15112E
RGBrgb(21, 17, 46)
HSLhsl(248, 46%, 12%)
HSVhsv(248, 63%, 18%)
CMYKcmyk(54.3%, 63%, 0%, 82%)
CIE-LABlab(6.84, 11.20, -18.78)
CIE-LCHlch(6.84, 21.86, 300.82°)
OKLaboklab(20.1% 0.0159 -0.0537)
OKLCHoklch(20.1% 0.056 286.5)
XYZxyz(1.0027, 0.7575, 2.6776)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15112E #2A2E11
analogous
#111C2E #15112E #24112E
triadic
#15112E #2E1511 #112E15
tetradic
#15112E #2E111C #2A2E11 #112E24
square
#15112E #2E111C #2A2E11 #112E24
split-complementary
#15112E #2E2411 #1C2E11
monochromatic
#0A0816 #0A0816 #15112E #29225B #3E3287

Accessibility & contrast

On white

18.24
#15112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#15112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15112E
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15112E#FFFFFF#000000##FFFFFF
##15112E1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#0D171D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #15112e;
/* rgb */ color: rgb(21, 17, 46);
/* oklch */ color: oklch(20.1% 0.056 286.5);
Tailwind
colors: {
  custom: {
    50: '#544f67',
    500: '#15112e',
    950: '#000000',
  },
}
SCSS
$custom: #15112e;
$custom-light: #544f67;
$custom-dark: #000000;
JSON
{
  "hex": "#15112e",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 248.276,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20104,
    "c": 0.056,
    "h": 286.5
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#15112E
secondary
#5F6634
accent
#D652C4
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #15112E

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

Preview Lab → · Contrast checker → · Palette generator →

#15112E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva