#0F0841#0F0841

#0F0841 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.100 H 277.6°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#0F0841
RGBrgb(15, 8, 65)
HSLhsl(247, 78%, 14%)
HSVhsv(247, 88%, 25%)
CMYKcmyk(76.9%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.93, 23.09, -34.10)
CIE-LCHlch(5.93, 41.18, 304.11°)
OKLaboklab(19.79% 0.0133 -0.0996)
OKLCHoklch(19.79% 0.1 277.6)
XYZxyz(1.2377, 0.6568, 5.0615)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0841 #3A4108
analogous
#081E41 #0F0841 #2C0841
triadic
#0F0841 #410F08 #08410F
tetradic
#0F0841 #41081E #3A4108 #08412C
square
#0F0841 #41081E #3A4108 #08412C
split-complementary
#0F0841 #412C08 #1E4108
monochromatic
#06031B #06031B #0F0841 #1C0F77 #2815AE

Accessibility & contrast

On white

18.56
#0F0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0841
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0841#FFFFFF#000000##FFFFFF
##0F08411.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0841;
/* rgb */ color: rgb(15, 8, 65);
/* oklch */ color: oklch(19.8% 0.100 277.6);
Tailwind
colors: {
  custom: {
    50: '#564976',
    500: '#0f0841',
    950: '#000000',
  },
}
SCSS
$custom: #0f0841;
$custom-light: #564976;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0841",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 247.368,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19785,
    "c": 0.10044,
    "h": 277.6
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#0F0841
secondary
#747F25
accent
#F533DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0841

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

Preview Lab → · Contrast checker → · Palette generator →

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