#0F0937#0F0937

#0F0937 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.085 H 280.4°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#0F0937
RGBrgb(15, 9, 55)
HSLhsl(248, 72%, 13%)
HSVhsv(248, 84%, 22%)
CMYKcmyk(72.7%, 83.6%, 0%, 78.4%)
CIE-LABlab(5.17, 17.71, -28.11)
CIE-LCHlch(5.17, 33.23, 302.21°)
OKLaboklab(18.74% 0.0152 -0.0832)
OKLCHoklch(18.74% 0.085 280.4)
XYZxyz(0.9841, 0.5727, 3.6724)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0937 #313709
analogous
#091A37 #0F0937 #260937
triadic
#0F0937 #370F09 #09370F
tetradic
#0F0937 #37091A #313709 #093726
square
#0F0937 #37091A #313709 #093726
split-complementary
#0F0937 #372609 #1A3709
monochromatic
#07041A #07041A #0F0937 #1D126C #2C1AA0

Accessibility & contrast

On white

18.84
#0F0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F0937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0937
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0937#FFFFFF#000000##FFFFFF
##0F09371.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0937;
/* rgb */ color: rgb(15, 9, 55);
/* oklch */ color: oklch(18.7% 0.085 280.4);
Tailwind
colors: {
  custom: {
    50: '#534a6e',
    500: '#0f0937',
    950: '#000000',
  },
}
SCSS
$custom: #0f0937;
$custom-light: #534a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0937",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 247.826,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18736,
    "c": 0.08455,
    "h": 280.4
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#0F0937
secondary
#6B7527
accent
#EF39D7
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0937

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

Preview Lab → · Contrast checker → · Palette generator →

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