#0B1127#0B1127

#0B1127 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.6% C 0.046 H 270.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#0B1127
RGBrgb(11, 17, 39)
HSLhsl(227, 56%, 10%)
HSVhsv(227, 72%, 15%)
CMYKcmyk(71.8%, 56.4%, 0%, 84.7%)
CIE-LABlab(5.59, 4.78, -15.56)
CIE-LCHlch(5.59, 16.28, 287.07°)
OKLaboklab(18.56% 0 -0.0457)
OKLCHoklch(18.56% 0.046 270)
XYZxyz(0.7045, 0.6185, 2.0013)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1127 #27210B
analogous
#0B1F27 #0B1127 #130B27
triadic
#0B1127 #270B11 #11270B
tetradic
#0B1127 #270B1F #27210B #0B2713
square
#0B1127 #270B1F #27210B #0B2713
split-complementary
#0B1127 #27130B #1F270B
monochromatic
#070A18 #070A18 #0B1127 #182657 #263B86

Accessibility & contrast

On white

18.69
#0B1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1127
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1127#FFFFFF#000000##FFFFFF
##0B11271.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071428
Deuteranopia (green-blind)
#051127
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b1127;
/* rgb */ color: rgb(11, 17, 39);
/* oklch */ color: oklch(18.6% 0.046 270.0);
Tailwind
colors: {
  custom: {
    50: '#4c4f61',
    500: '#0b1127',
    950: '#000000',
  },
}
SCSS
$custom: #0b1127;
$custom-light: #4c4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1127",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 227.143,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18563,
    "c": 0.04575,
    "h": 270
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#0B1127
secondary
#63572B
accent
#BF49DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #0B1127

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

Preview Lab → · Contrast checker → · Palette generator →

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