#0B172E#0B172E

#0B172E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.8% C 0.049 H 262.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0B172E
RGBrgb(11, 23, 46)
HSLhsl(219, 61%, 11%)
HSVhsv(219, 76%, 18%)
CMYKcmyk(76.1%, 50%, 0%, 82%)
CIE-LABlab(7.96, 3.95, -17.05)
CIE-LCHlch(7.96, 17.50, 283.06°)
OKLaboklab(20.78% -0.0066 -0.0485)
OKLCHoklch(20.78% 0.049 262.2)
XYZxyz(0.9374, 0.8811, 2.7049)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B172E #2E220B
analogous
#0B282E #0B172E #100B2E
triadic
#0B172E #2E0B17 #172E0B
tetradic
#0B172E #2E0B28 #2E220B #0B2E10
square
#0B172E #2E0B28 #2E220B #0B2E10
split-complementary
#0B172E #2E100B #282E0B
monochromatic
#060C19 #060C19 #0B172E #17305F #234891

Accessibility & contrast

On white

17.85
#0B172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B172E
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B172E#FFFFFF#000000##FFFFFF
##0B172E1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b172e;
/* rgb */ color: rgb(11, 23, 46);
/* oklch */ color: oklch(20.8% 0.049 262.2);
Tailwind
colors: {
  custom: {
    50: '#4e5367',
    500: '#0b172e',
    950: '#000000',
  },
}
SCSS
$custom: #0b172e;
$custom-light: #4e5367;
$custom-dark: #000000;
JSON
{
  "hex": "#0b172e",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 219.429,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20781,
    "c": 0.04898,
    "h": 262.2
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#0B172E
secondary
#6A542A
accent
#AD43E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B172E

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

Preview Lab → · Contrast checker → · Palette generator →

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