#0F0844#0F0844

#0F0844 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.105 H 276.8°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#0F0844
RGBrgb(15, 8, 68)
HSLhsl(247, 79%, 15%)
HSVhsv(247, 88%, 27%)
CMYKcmyk(77.9%, 88.2%, 0%, 73.3%)
CIE-LABlab(6.26, 24.47, -35.70)
CIE-LCHlch(6.26, 43.28, 304.42°)
OKLaboklab(20.17% 0.0123 -0.1039)
OKLCHoklch(20.17% 0.105 276.8)
XYZxyz(1.3269, 0.6925, 5.5315)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0844 #3D4408
analogous
#081F44 #0F0844 #2D0844
triadic
#0F0844 #440F08 #08440F
tetradic
#0F0844 #44081F #3D4408 #08442D
square
#0F0844 #44081F #3D4408 #08442D
split-complementary
#0F0844 #442D08 #1F4408
monochromatic
#06031B #06031B #0F0844 #1B0E7B #2715B2

Accessibility & contrast

On white

18.44
#0F0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0844
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0844#FFFFFF#000000##FFFFFF
##0F08441.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001646
Deuteranopia (green-blind)
#001143
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0844;
/* rgb */ color: rgb(15, 8, 68);
/* oklch */ color: oklch(20.2% 0.105 276.8);
Tailwind
colors: {
  custom: {
    50: '#574979',
    500: '#0f0844',
    950: '#000000',
  },
}
SCSS
$custom: #0f0844;
$custom-light: #574979;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0844",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 247,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20169,
    "c": 0.10463,
    "h": 276.8
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#0F0844
secondary
#778226
accent
#F532DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0844

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

Preview Lab → · Contrast checker → · Palette generator →

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