#0B121E#0B121E

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

Color values

HEX#0B121E
RGBrgb(11, 18, 30)
HSLhsl(218, 46%, 8%)
HSVhsv(218, 63%, 12%)
CMYKcmyk(63.3%, 40%, 0%, 88.2%)
CIE-LABlab(5.40, 0.85, -8.96)
CIE-LCHlch(5.40, 9.00, 275.40°)
OKLaboklab(18.18% -0.0043 -0.0268)
OKLCHoklch(18.18% 0.027 260.8)
XYZxyz(0.5886, 0.5975, 1.3124)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B121E #1E170B
analogous
#0B1B1E #0B121E #0D0B1E
triadic
#0B121E #1E0B12 #121E0B
tetradic
#0B121E #1E0B1B #1E170B #0B1E0D
square
#0B121E #1E0B1B #1E170B #0B1E0D
split-complementary
#0B121E #1E0D0B #1B1E0B
monochromatic
#080D16 #080D16 #0B121E #1B2D4B #2C4878

Accessibility & contrast

On white

18.76
#0B121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B121E
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B121E#FFFFFF#000000##FFFFFF
##0B121E1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E131F
Deuteranopia (green-blind)
#0B111E
Tritanopia (blue-blind)
#051516
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b121e;
/* rgb */ color: rgb(11, 18, 30);
/* oklch */ color: oklch(18.2% 0.027 260.8);
Tailwind
colors: {
  custom: {
    50: '#4b5059',
    500: '#0b121e',
    950: '#000000',
  },
}
SCSS
$custom: #0b121e;
$custom-light: #4b5059;
$custom-dark: #000000;
JSON
{
  "hex": "#0b121e",
  "rgb": {
    "r": 11,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 217.895,
    "s": 46.341,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18175,
    "c": 0.02713,
    "h": 260.8
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#0B121E
secondary
#58482D
accent
#A552D6
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0B121E

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

Preview Lab → · Contrast checker → · Palette generator →

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