#0B112A#0B112A

#0B112A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.8% C 0.051 H 270.6°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0B112A
RGBrgb(11, 17, 42)
HSLhsl(228, 58%, 10%)
HSVhsv(228, 74%, 16%)
CMYKcmyk(73.8%, 59.5%, 0%, 83.5%)
CIE-LABlab(5.77, 6.09, -17.53)
CIE-LCHlch(5.77, 18.56, 289.15°)
OKLaboklab(18.82% 0.0006 -0.0513)
OKLCHoklch(18.82% 0.051 270.6)
XYZxyz(0.7562, 0.6392, 2.2736)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B112A #2A240B
analogous
#0B202A #0B112A #140B2A
triadic
#0B112A #2A0B11 #112A0B
tetradic
#0B112A #2A0B20 #2A240B #0B2A14
square
#0B112A #2A0B20 #2A240B #0B2A14
split-complementary
#0B112A #2A140B #202A0B
monochromatic
#060A18 #060A18 #0B112A #18255A #24388B

Accessibility & contrast

On white

18.62
#0B112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0B112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B112A
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B112A#FFFFFF#000000##FFFFFF
##0B112A1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#031129
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0b112a;
/* rgb */ color: rgb(11, 17, 42);
/* oklch */ color: oklch(18.8% 0.051 270.6);
Tailwind
colors: {
  custom: {
    50: '#4d4f63',
    500: '#0b112a',
    950: '#000000',
  },
}
SCSS
$custom: #0b112a;
$custom-light: #4d4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#0b112a",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 228.387,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18818,
    "c": 0.0513,
    "h": 270.6
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#0B112A
secondary
#665B2B
accent
#C446E2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0B112A

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

Preview Lab → · Contrast checker → · Palette generator →

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