#0F0847#0F0847

#0F0847 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.6% C 0.109 H 276.0°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#0F0847
RGBrgb(15, 8, 71)
HSLhsl(247, 80%, 15%)
HSVhsv(247, 89%, 28%)
CMYKcmyk(78.9%, 88.7%, 0%, 72.2%)
CIE-LABlab(6.59, 25.78, -37.26)
CIE-LCHlch(6.59, 45.31, 304.68°)
OKLaboklab(20.56% 0.0114 -0.1082)
OKLCHoklch(20.56% 0.109 276)
XYZxyz(1.4208, 0.7300, 6.0260)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0847 #404708
analogous
#082047 #0F0847 #2E0847
triadic
#0F0847 #470F08 #08470F
tetradic
#0F0847 #470820 #404708 #08472E
square
#0F0847 #470820 #404708 #08472E
split-complementary
#0F0847 #472E08 #204708
monochromatic
#06031C #06031C #0F0847 #1B0E7E #2614B5

Accessibility & contrast

On white

18.32
#0F0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0847
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0847#FFFFFF#000000##FFFFFF
##0F08471.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0847;
/* rgb */ color: rgb(15, 8, 71);
/* oklch */ color: oklch(20.6% 0.109 276.0);
Tailwind
colors: {
  custom: {
    50: '#58497b',
    500: '#0f0847',
    950: '#000000',
  },
}
SCSS
$custom: #0f0847;
$custom-light: #58497b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0847",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 246.667,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20558,
    "c": 0.10877,
    "h": 276
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#0F0847
secondary
#7A8526
accent
#F632E0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0847

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

Preview Lab → · Contrast checker → · Palette generator →

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