#0F092C#0F092C

#0F092C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.067 H 284.9°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#0F092C
RGBrgb(15, 9, 44)
HSLhsl(250, 66%, 10%)
HSVhsv(250, 80%, 17%)
CMYKcmyk(65.9%, 79.5%, 0%, 82.7%)
CIE-LABlab(4.32, 12.05, -21.31)
CIE-LCHlch(4.32, 24.48, 299.49°)
OKLaboklab(17.5% 0.0174 -0.065)
OKLCHoklch(17.5% 0.067 284.9)
XYZxyz(0.7492, 0.4787, 2.4353)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F092C #262C09
analogous
#09142C #0F092C #20092C
triadic
#0F092C #2C0F09 #092C0F
tetradic
#0F092C #2C0914 #262C09 #092C20
square
#0F092C #2C0914 #262C09 #092C20
split-complementary
#0F092C #2C2009 #142C09
monochromatic
#090519 #090519 #0F092C #20135F #321E92

Accessibility & contrast

On white

19.16
#0F092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F092C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F092C
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F092C#FFFFFF#000000##FFFFFF
##0F092C1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#041219
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f092c;
/* rgb */ color: rgb(15, 9, 44);
/* oklch */ color: oklch(17.5% 0.067 284.9);
Tailwind
colors: {
  custom: {
    50: '#4f4a65',
    500: '#0f092c',
    950: '#000000',
  },
}
SCSS
$custom: #0f092c;
$custom-light: #4f4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f092c",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 250.286,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17502,
    "c": 0.06729,
    "h": 284.9
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#0F092C
secondary
#5E6A27
accent
#E93FCC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F092C

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

Preview Lab → · Contrast checker → · Palette generator →

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