#0B162F#0B162F

#0B162F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.6% C 0.052 H 264.4°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0B162F
RGBrgb(11, 22, 47)
HSLhsl(222, 62%, 11%)
HSVhsv(222, 77%, 18%)
CMYKcmyk(76.6%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.68, 5.18, -18.23)
CIE-LCHlch(7.68, 18.95, 285.85°)
OKLaboklab(20.59% -0.0051 -0.052)
OKLCHoklch(20.59% 0.052 264.4)
XYZxyz(0.9378, 0.8501, 2.8034)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B162F #2F240B
analogous
#0B282F #0B162F #120B2F
triadic
#0B162F #2F0B16 #162F0B
tetradic
#0B162F #2F0B28 #2F240B #0B2F12
square
#0B162F #2F0B28 #2F240B #0B2F12
split-complementary
#0B162F #2F120B #282F0B
monochromatic
#060C19 #060C19 #0B162F #172D61 #224492

Accessibility & contrast

On white

17.95
#0B162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0B162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B162F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B162F#FFFFFF#000000##FFFFFF
##0B162F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1930
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b162f;
/* rgb */ color: rgb(11, 22, 47);
/* oklch */ color: oklch(20.6% 0.052 264.4);
Tailwind
colors: {
  custom: {
    50: '#4e5267',
    500: '#0b162f',
    950: '#000000',
  },
}
SCSS
$custom: #0b162f;
$custom-light: #4e5267;
$custom-dark: #000000;
JSON
{
  "hex": "#0b162f",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 221.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20585,
    "c": 0.05229,
    "h": 264.4
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#0B162F
secondary
#6B582A
accent
#B343E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B162F

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

Preview Lab → · Contrast checker → · Palette generator →

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