#0B1156#0B1156

#0B1156 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.121 H 269.3°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0B1156
RGBrgb(11, 17, 86)
HSLhsl(235, 77%, 19%)
HSVhsv(235, 87%, 34%)
CMYKcmyk(87.2%, 80.2%, 0%, 66.3%)
CIE-LABlab(10.14, 25.79, -41.79)
CIE-LCHlch(10.14, 49.11, 301.68°)
OKLaboklab(23.61% -0.0015 -0.1211)
OKLCHoklch(23.61% 0.121 269.3)
XYZxyz(2.0176, 1.1437, 8.9167)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1156 #56500B
analogous
#0B3756 #0B1156 #2B0B56
triadic
#0B1156 #560B11 #11560B
tetradic
#0B1156 #560B37 #56500B #0B562B
square
#0B1156 #560B37 #56500B #0B562B
split-complementary
#0B1156 #562B0B #37560B
monochromatic
#03051B #040620 #0B1156 #121C8C #1926C3

Accessibility & contrast

On white

17.09
#0B1156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B1156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1156
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1156#FFFFFF#000000##FFFFFF
##0B11561.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b1156;
/* rgb */ color: rgb(11, 17, 86);
/* oklch */ color: oklch(23.6% 0.121 269.3);
Tailwind
colors: {
  custom: {
    50: '#5b4f87',
    500: '#0b1156',
    950: '#000000',
  },
}
SCSS
$custom: #0b1156;
$custom-light: #5b4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1156",
  "rgb": {
    "r": 11,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 235.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23607,
    "c": 0.12109,
    "h": 269.3
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#0B1156
secondary
#91892B
accent
#E434F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0B1156

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

Preview Lab → · Contrast checker → · Palette generator →

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