#0B172C#0B172C

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

Color values

HEX#0B172C
RGBrgb(11, 23, 44)
HSLhsl(218, 60%, 11%)
HSVhsv(218, 75%, 17%)
CMYKcmyk(75%, 47.7%, 0%, 82.7%)
CIE-LABlab(7.82, 3.07, -15.79)
CIE-LCHlch(7.82, 16.09, 280.99°)
OKLaboklab(20.63% -0.0072 -0.0449)
OKLCHoklch(20.63% 0.045 260.9)
XYZxyz(0.8989, 0.8657, 2.5021)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B172C #2C200B
analogous
#0B272C #0B172C #0F0B2C
triadic
#0B172C #2C0B17 #172C0B
tetradic
#0B172C #2C0B27 #2C200B #0B2C0F
square
#0B172C #2C0B27 #2C200B #0B2C0F
split-complementary
#0B172C #2C0F0B #272C0B
monochromatic
#060D18 #060D18 #0B172C #17315D #234A8E

Accessibility & contrast

On white

17.90
#0B172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B172C
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B172C#FFFFFF#000000##FFFFFF
##0B172C1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b172c;
/* rgb */ color: rgb(11, 23, 44);
/* oklch */ color: oklch(20.6% 0.045 260.9);
Tailwind
colors: {
  custom: {
    50: '#4e5365',
    500: '#0b172c',
    950: '#000000',
  },
}
SCSS
$custom: #0b172c;
$custom-light: #4e5365;
$custom-dark: #000000;
JSON
{
  "hex": "#0b172c",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 218.182,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20626,
    "c": 0.04544,
    "h": 260.9
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#0B172C
secondary
#68522B
accent
#AA45E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0B172C

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

Preview Lab → · Contrast checker → · Palette generator →

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