#0B162D#0B162D

#0B162D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.049 H 263.4°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#0B162D
RGBrgb(11, 22, 45)
HSLhsl(221, 61%, 11%)
HSVhsv(221, 76%, 18%)
CMYKcmyk(75.6%, 51.1%, 0%, 82.4%)
CIE-LABlab(7.54, 4.27, -16.98)
CIE-LCHlch(7.54, 17.51, 284.11°)
OKLaboklab(20.42% -0.0056 -0.0484)
OKLCHoklch(20.42% 0.049 263.4)
XYZxyz(0.8984, 0.8343, 2.5958)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B162D #2D220B
analogous
#0B272D #0B162D #110B2D
triadic
#0B162D #2D0B16 #162D0B
tetradic
#0B162D #2D0B27 #2D220B #0B2D11
square
#0B162D #2D0B27 #2D220B #0B2D11
split-complementary
#0B162D #2D110B #272D0B
monochromatic
#060C19 #060C19 #0B162D #172E5E #23468F

Accessibility & contrast

On white

18.00
#0B162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B162D
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B162D#FFFFFF#000000##FFFFFF
##0B162D1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#07152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b162d;
/* rgb */ color: rgb(11, 22, 45);
/* oklch */ color: oklch(20.4% 0.049 263.4);
Tailwind
colors: {
  custom: {
    50: '#4e5266',
    500: '#0b162d',
    950: '#000000',
  },
}
SCSS
$custom: #0b162d;
$custom-light: #4e5266;
$custom-dark: #000000;
JSON
{
  "hex": "#0b162d",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 220.588,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20424,
    "c": 0.04872,
    "h": 263.4
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#0B162D
secondary
#69552A
accent
#B044E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B162D

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

Preview Lab → · Contrast checker → · Palette generator →

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