#0B181F#0B181F

#0B181F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.023 H 233.1°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#0B181F
RGBrgb(11, 24, 31)
HSLhsl(201, 48%, 8%)
HSVhsv(201, 65%, 12%)
CMYKcmyk(64.5%, 22.6%, 0%, 87.8%)
CIE-LABlab(7.44, -2.89, -6.64)
CIE-LCHlch(7.44, 7.24, 246.46°)
OKLaboklab(20.06% -0.0139 -0.0185)
OKLCHoklch(20.06% 0.023 233.1)
XYZxyz(0.7119, 0.8233, 1.4175)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B181F #1F120B
analogous
#0B1F1C #0B181F #0B0E1F
triadic
#0B181F #1F0B18 #181F0B
tetradic
#0B181F #1C0B1F #1F120B #0E1F0B
square
#0B181F #1C0B1F #1F120B #0E1F0B
split-complementary
#0B181F #1F0B0E #1F1C0B
monochromatic
#081117 #081117 #0B181F #1B3B4C #2B5E79

Accessibility & contrast

On white

18.03
#0B181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B181F
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B181F#FFFFFF#000000##FFFFFF
##0B181F1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181F
Deuteranopia (green-blind)
#12151F
Tritanopia (blue-blind)
#031A1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b181f;
/* rgb */ color: rgb(11, 24, 31);
/* oklch */ color: oklch(20.1% 0.023 233.1);
Tailwind
colors: {
  custom: {
    50: '#4b545a',
    500: '#0b181f',
    950: '#000000',
  },
}
SCSS
$custom: #0b181f;
$custom-light: #4b545a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b181f",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 201,
    "s": 47.619,
    "l": 8.235
  },
  "oklch": {
    "l": 0.20062,
    "c": 0.0231,
    "h": 233.1
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#0B181F
secondary
#593C2D
accent
#8051D7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #0B181F

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

Preview Lab → · Contrast checker → · Palette generator →

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