#0B0846#0B0846

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

Color values

HEX#0B0846
RGBrgb(11, 8, 70)
HSLhsl(243, 79%, 15%)
HSVhsv(243, 89%, 27%)
CMYKcmyk(84.3%, 88.6%, 0%, 72.5%)
CIE-LABlab(6.20, 24.78, -37.21)
CIE-LCHlch(6.20, 44.70, 303.66°)
OKLaboklab(20.12% 0.0056 -0.1084)
OKLCHoklch(20.12% 0.109 272.9)
XYZxyz(1.3300, 0.6869, 5.8557)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0846 #434608
analogous
#082446 #0B0846 #2A0846
triadic
#0B0846 #460B08 #08460B
tetradic
#0B0846 #460824 #434608 #08462A
square
#0B0846 #460824 #434608 #08462A
split-complementary
#0B0846 #462A08 #244608
monochromatic
#04031B #04031B #0B0846 #140E7D #1C15B4

Accessibility & contrast

On white

18.46
#0B0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0846
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0846#FFFFFF#000000##FFFFFF
##0B08461.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001145
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0846;
/* rgb */ color: rgb(11, 8, 70);
/* oklch */ color: oklch(20.1% 0.109 272.9);
Tailwind
colors: {
  custom: {
    50: '#56497a',
    500: '#0b0846',
    950: '#000000',
  },
}
SCSS
$custom: #0b0846;
$custom-light: #56497a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0846",
  "rgb": {
    "r": 11,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 242.903,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20121,
    "c": 0.10857,
    "h": 272.9
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#0B0846
secondary
#808426
accent
#F632EC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0846

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

Preview Lab → · Contrast checker → · Palette generator →

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