#0B0847#0B0847

#0B0847 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.110 H 272.8°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0B0847
RGBrgb(11, 8, 71)
HSLhsl(243, 80%, 15%)
HSVhsv(243, 89%, 28%)
CMYKcmyk(84.5%, 88.7%, 0%, 72.2%)
CIE-LABlab(6.32, 25.24, -37.72)
CIE-LCHlch(6.32, 45.39, 303.78°)
OKLaboklab(20.25% 0.0053 -0.1098)
OKLCHoklch(20.25% 0.11 272.8)
XYZxyz(1.3618, 0.6996, 6.0233)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0847 #444708
analogous
#082447 #0B0847 #2A0847
triadic
#0B0847 #470B08 #08470B
tetradic
#0B0847 #470824 #444708 #08472A
square
#0B0847 #470824 #444708 #08472A
split-complementary
#0B0847 #472A08 #244708
monochromatic
#04031C #04031C #0B0847 #140E7E #1C14B5

Accessibility & contrast

On white

18.42
#0B0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0847
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0847#FFFFFF#000000##FFFFFF
##0B08471.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001146
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0b0847;
/* rgb */ color: rgb(11, 8, 71);
/* oklch */ color: oklch(20.3% 0.110 272.8);
Tailwind
colors: {
  custom: {
    50: '#57497b',
    500: '#0b0847',
    950: '#000000',
  },
}
SCSS
$custom: #0b0847;
$custom-light: #57497b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0847",
  "rgb": {
    "r": 11,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 242.857,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20254,
    "c": 0.10995,
    "h": 272.8
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#0B0847
secondary
#818526
accent
#F632ED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0847

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

Preview Lab → · Contrast checker → · Palette generator →

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