#0F0939#0F0939

#0F0939 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.088 H 279.7°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#0F0939
RGBrgb(15, 9, 57)
HSLhsl(248, 73%, 13%)
HSVhsv(248, 84%, 22%)
CMYKcmyk(73.7%, 84.2%, 0%, 77.6%)
CIE-LABlab(5.35, 18.73, -29.29)
CIE-LCHlch(5.35, 34.76, 302.60°)
OKLaboklab(18.97% 0.0147 -0.0863)
OKLCHoklch(18.97% 0.088 279.7)
XYZxyz(1.0330, 0.5923, 3.9300)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0939 #333909
analogous
#091B39 #0F0939 #270939
triadic
#0F0939 #390F09 #09390F
tetradic
#0F0939 #39091B #333909 #093927
square
#0F0939 #39091B #333909 #093927
split-complementary
#0F0939 #392709 #1B3909
monochromatic
#07041A #07041A #0F0939 #1D116E #2B1AA3

Accessibility & contrast

On white

18.78
#0F0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0939
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0939#FFFFFF#000000##FFFFFF
##0F09391.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0939;
/* rgb */ color: rgb(15, 9, 57);
/* oklch */ color: oklch(19.0% 0.088 279.7);
Tailwind
colors: {
  custom: {
    50: '#544a70',
    500: '#0f0939',
    950: '#000000',
  },
}
SCSS
$custom: #0f0939;
$custom-light: #544a70;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0939",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 247.5,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18973,
    "c": 0.08756,
    "h": 279.7
  },
  "luminance": 0.00592
}

Semantic roles & 50–950 ramp

primary
#0F0939
secondary
#6D7727
accent
#EF38D9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0939

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

Preview Lab → · Contrast checker → · Palette generator →

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