#0B1027#0B1027

#0B1027 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.3% C 0.047 H 271.8°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#0B1027
RGBrgb(11, 16, 39)
HSLhsl(229, 56%, 10%)
HSVhsv(229, 72%, 15%)
CMYKcmyk(71.8%, 59%, 0%, 84.7%)
CIE-LABlab(5.31, 5.34, -15.99)
CIE-LCHlch(5.31, 16.86, 288.46°)
OKLaboklab(18.29% 0.0014 -0.0474)
OKLCHoklch(18.29% 0.047 271.8)
XYZxyz(0.6894, 0.5882, 1.9963)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1027 #27220B
analogous
#0B1E27 #0B1027 #140B27
triadic
#0B1027 #270B10 #10270B
tetradic
#0B1027 #270B1E #27220B #0B2714
square
#0B1027 #270B1E #27220B #0B2714
split-complementary
#0B1027 #27140B #1E270B
monochromatic
#070A18 #070A18 #0B1027 #182457 #263786

Accessibility & contrast

On white

18.79
#0B1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1027
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1027#FFFFFF#000000##FFFFFF
##0B10271.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061328
Deuteranopia (green-blind)
#041027
Tritanopia (blue-blind)
#011519
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b1027;
/* rgb */ color: rgb(11, 16, 39);
/* oklch */ color: oklch(18.3% 0.047 271.8);
Tailwind
colors: {
  custom: {
    50: '#4c4e61',
    500: '#0b1027',
    950: '#000000',
  },
}
SCSS
$custom: #0b1027;
$custom-light: #4c4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1027",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 229.286,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18293,
    "c": 0.04745,
    "h": 271.8
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#0B1027
secondary
#63592B
accent
#C449DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #0B1027

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

Preview Lab → · Contrast checker → · Palette generator →

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