#0B0841#0B0841

#0B0841 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.102 H 273.9°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#0B0841
RGBrgb(11, 8, 65)
HSLhsl(243, 78%, 14%)
HSVhsv(243, 88%, 25%)
CMYKcmyk(83.1%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.66, 22.38, -34.56)
CIE-LCHlch(5.66, 41.17, 302.93°)
OKLaboklab(19.46% 0.0069 -0.1013)
OKLCHoklch(19.46% 0.102 273.9)
XYZxyz(1.1787, 0.6263, 5.0588)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0841 #3E4108
analogous
#082241 #0B0841 #280841
triadic
#0B0841 #410B08 #08410B
tetradic
#0B0841 #410822 #3E4108 #084128
square
#0B0841 #410822 #3E4108 #084128
split-complementary
#0B0841 #412808 #224108
monochromatic
#05031B #05031B #0B0841 #140F77 #1D15AE

Accessibility & contrast

On white

18.66
#0B0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0841
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0841#FFFFFF#000000##FFFFFF
##0B08411.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0841;
/* rgb */ color: rgb(11, 8, 65);
/* oklch */ color: oklch(19.5% 0.102 273.9);
Tailwind
colors: {
  custom: {
    50: '#554976',
    500: '#0b0841',
    950: '#000000',
  },
}
SCSS
$custom: #0b0841;
$custom-light: #554976;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0841",
  "rgb": {
    "r": 11,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 243.158,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19458,
    "c": 0.10158,
    "h": 273.9
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#0B0841
secondary
#7B7F25
accent
#F533EA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0841

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

Preview Lab → · Contrast checker → · Palette generator →

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