#0F151F#0F151F

#0F151F is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.022 H 260.4°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#0F151F
RGBrgb(15, 21, 31)
HSLhsl(218, 35%, 9%)
HSVhsv(218, 52%, 12%)
CMYKcmyk(51.6%, 32.3%, 0%, 87.8%)
CIE-LABlab(6.66, 0.50, -7.80)
CIE-LCHlch(6.66, 7.82, 273.63°)
OKLaboklab(19.47% -0.0037 -0.022)
OKLCHoklch(19.47% 0.022 260.4)
XYZxyz(0.7124, 0.7368, 1.4007)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F151F #1F190F
analogous
#0F1D1F #0F151F #110F1F
triadic
#0F151F #1F0F15 #151F0F
tetradic
#0F151F #1F0F1D #1F190F #0F1F11
square
#0F151F #1F0F1D #1F190F #0F1F11
split-complementary
#0F151F #1F110F #1D1F0F
monochromatic
#0A0E15 #0A0E15 #0F151F #233148 #374D71

Accessibility & contrast

On white

18.30
#0F151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F151F
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F151F#FFFFFF#000000##FFFFFF
##0F151F1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11161F
Deuteranopia (green-blind)
#10141F
Tritanopia (blue-blind)
#0A1718
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f151f;
/* rgb */ color: rgb(15, 21, 31);
/* oklch */ color: oklch(19.5% 0.022 260.4);
Tailwind
colors: {
  custom: {
    50: '#4e525a',
    500: '#0f151f',
    950: '#000000',
  },
}
SCSS
$custom: #0f151f;
$custom-light: #4e525a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f151f",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 217.5,
    "s": 34.783,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19471,
    "c": 0.02236,
    "h": 260.4
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#0F151F
secondary
#564934
accent
#A25DCB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0F151F

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

Preview Lab → · Contrast checker → · Palette generator →

#0F151F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva