#0F0936#0F0936

#0F0936 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.083 H 280.7°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#0F0936
RGBrgb(15, 9, 54)
HSLhsl(248, 71%, 12%)
HSVhsv(248, 83%, 21%)
CMYKcmyk(72.2%, 83.3%, 0%, 78.8%)
CIE-LABlab(5.09, 17.20, -27.52)
CIE-LCHlch(5.09, 32.45, 302.00°)
OKLaboklab(18.62% 0.0155 -0.0816)
OKLCHoklch(18.62% 0.083 280.7)
XYZxyz(0.9603, 0.5632, 3.5474)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0936 #303609
analogous
#091A36 #0F0936 #260936
triadic
#0F0936 #360F09 #09360F
tetradic
#0F0936 #36091A #303609 #093626
square
#0F0936 #36091A #303609 #093626
split-complementary
#0F0936 #362609 #1A3609
monochromatic
#07041A #07041A #0F0936 #1E126A #2C1A9F

Accessibility & contrast

On white

18.87
#0F0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0936
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0936#FFFFFF#000000##FFFFFF
##0F09361.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0936;
/* rgb */ color: rgb(15, 9, 54);
/* oklch */ color: oklch(18.6% 0.083 280.7);
Tailwind
colors: {
  custom: {
    50: '#524a6d',
    500: '#0f0936',
    950: '#000000',
  },
}
SCSS
$custom: #0f0936;
$custom-light: #524a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0936",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 248,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18619,
    "c": 0.08303,
    "h": 280.7
  },
  "luminance": 0.00563
}

Semantic roles & 50–950 ramp

primary
#0F0936
secondary
#6A7427
accent
#EE3AD6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0936

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

Preview Lab → · Contrast checker → · Palette generator →

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