#0B1122#0B1122

#0B1122 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.036 H 268.0°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#0B1122
RGBrgb(11, 17, 34)
HSLhsl(224, 51%, 9%)
HSVhsv(224, 68%, 13%)
CMYKcmyk(67.6%, 50%, 0%, 86.7%)
CIE-LABlab(5.31, 2.81, -12.18)
CIE-LCHlch(5.31, 12.50, 283.01°)
OKLaboklab(18.17% -0.0013 -0.0363)
OKLCHoklch(18.17% 0.036 268)
XYZxyz(0.6271, 0.5875, 1.5934)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1122 #221C0B
analogous
#0B1D22 #0B1122 #110B22
triadic
#0B1122 #220B11 #11220B
tetradic
#0B1122 #220B1D #221C0B #0B2211
square
#0B1122 #220B1D #221C0B #0B2211
split-complementary
#0B1122 #22110B #1D220B
monochromatic
#070C17 #070C17 #0B1122 #1A2850 #293F7E

Accessibility & contrast

On white

18.79
#0B1122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B1122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1122
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1122#FFFFFF#000000##FFFFFF
##0B11221.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1323
Deuteranopia (green-blind)
#081122
Tritanopia (blue-blind)
#031517
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b1122;
/* rgb */ color: rgb(11, 17, 34);
/* oklch */ color: oklch(18.2% 0.036 268.0);
Tailwind
colors: {
  custom: {
    50: '#4c4f5d',
    500: '#0b1122',
    950: '#000000',
  },
}
SCSS
$custom: #0b1122;
$custom-light: #4c4f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1122",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 224.348,
    "s": 51.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18168,
    "c": 0.03629,
    "h": 268
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#0B1122
secondary
#5D502C
accent
#B64DDB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #0B1122

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

Preview Lab → · Contrast checker → · Palette generator →

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