#0B0849#0B0849

#0B0849 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.113 H 272.4°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#0B0849
RGBrgb(11, 8, 73)
HSLhsl(243, 80%, 16%)
HSVhsv(243, 89%, 29%)
CMYKcmyk(84.9%, 89%, 0%, 71.4%)
CIE-LABlab(6.56, 26.13, -38.74)
CIE-LCHlch(6.56, 46.73, 304.00°)
OKLaboklab(20.52% 0.0047 -0.1126)
OKLCHoklch(20.52% 0.113 272.4)
XYZxyz(1.4270, 0.7257, 6.3669)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0849 #464908
analogous
#082549 #0B0849 #2B0849
triadic
#0B0849 #490B08 #08490B
tetradic
#0B0849 #490825 #464908 #08492B
square
#0B0849 #490825 #464908 #08492B
split-complementary
#0B0849 #492B08 #254908
monochromatic
#04031C #04031C #0B0849 #130E80 #1C14B7

Accessibility & contrast

On white

18.34
#0B0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0849
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0849#FFFFFF#000000##FFFFFF
##0B08491.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184B
Deuteranopia (green-blind)
#001148
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0849;
/* rgb */ color: rgb(11, 8, 73);
/* oklch */ color: oklch(20.5% 0.113 272.4);
Tailwind
colors: {
  custom: {
    50: '#57497d',
    500: '#0b0849',
    950: '#000000',
  },
}
SCSS
$custom: #0b0849;
$custom-light: #57497d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0849",
  "rgb": {
    "r": 11,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 242.769,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.20523,
    "c": 0.11269,
    "h": 272.4
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#0B0849
secondary
#828726
accent
#F731EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0849

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

Preview Lab → · Contrast checker → · Palette generator →

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