#0B162E#0B162E

#0B162E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.5% C 0.051 H 263.9°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#0B162E
RGBrgb(11, 22, 46)
HSLhsl(221, 61%, 11%)
HSVhsv(221, 76%, 18%)
CMYKcmyk(76.1%, 52.2%, 0%, 82%)
CIE-LABlab(7.61, 4.72, -17.61)
CIE-LCHlch(7.61, 18.23, 285.02°)
OKLaboklab(20.5% -0.0053 -0.0502)
OKLCHoklch(20.5% 0.051 263.9)
XYZxyz(0.9179, 0.8421, 2.6984)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B162E #2E230B
analogous
#0B272E #0B162E #110B2E
triadic
#0B162E #2E0B16 #162E0B
tetradic
#0B162E #2E0B27 #2E230B #0B2E11
square
#0B162E #2E0B27 #2E230B #0B2E11
split-complementary
#0B162E #2E110B #272E0B
monochromatic
#060C19 #060C19 #0B162E #172E5F #234591

Accessibility & contrast

On white

17.97
#0B162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B162E
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B162E#FFFFFF#000000##FFFFFF
##0B162E1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b162e;
/* rgb */ color: rgb(11, 22, 46);
/* oklch */ color: oklch(20.5% 0.051 263.9);
Tailwind
colors: {
  custom: {
    50: '#4e5267',
    500: '#0b162e',
    950: '#000000',
  },
}
SCSS
$custom: #0b162e;
$custom-light: #4e5267;
$custom-dark: #000000;
JSON
{
  "hex": "#0b162e",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 221.143,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20504,
    "c": 0.05051,
    "h": 263.9
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#0B162E
secondary
#6A562A
accent
#B243E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B162E

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

Preview Lab → · Contrast checker → · Palette generator →

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