#0B172D#0B172D

#0B172D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.047 H 261.6°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0B172D
RGBrgb(11, 23, 45)
HSLhsl(219, 61%, 11%)
HSVhsv(219, 76%, 18%)
CMYKcmyk(75.6%, 48.9%, 0%, 82.4%)
CIE-LABlab(7.89, 3.51, -16.42)
CIE-LCHlch(7.89, 16.79, 282.06°)
OKLaboklab(20.7% -0.0069 -0.0467)
OKLCHoklch(20.7% 0.047 261.6)
XYZxyz(0.9179, 0.8733, 2.6023)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B172D #2D210B
analogous
#0B282D #0B172D #100B2D
triadic
#0B172D #2D0B17 #172D0B
tetradic
#0B172D #2D0B28 #2D210B #0B2D10
square
#0B172D #2D0B28 #2D210B #0B2D10
split-complementary
#0B172D #2D100B #282D0B
monochromatic
#060D19 #060D19 #0B172D #17305E #23498F

Accessibility & contrast

On white

17.88
#0B172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B172D
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B172D#FFFFFF#000000##FFFFFF
##0B172D1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192E
Deuteranopia (green-blind)
#09162D
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b172d;
/* rgb */ color: rgb(11, 23, 45);
/* oklch */ color: oklch(20.7% 0.047 261.6);
Tailwind
colors: {
  custom: {
    50: '#4e5366',
    500: '#0b172d',
    950: '#000000',
  },
}
SCSS
$custom: #0b172d;
$custom-light: #4e5366;
$custom-dark: #000000;
JSON
{
  "hex": "#0b172d",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 218.824,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20703,
    "c": 0.04721,
    "h": 261.6
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#0B172D
secondary
#69532A
accent
#AB44E4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0B172D

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

Preview Lab → · Contrast checker → · Palette generator →

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