#0B1056#0B1056

#0B1056 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.4% C 0.122 H 269.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#0B1056
RGBrgb(11, 16, 86)
HSLhsl(236, 77%, 19%)
HSVhsv(236, 87%, 34%)
CMYKcmyk(87.2%, 81.4%, 0%, 66.3%)
CIE-LABlab(9.90, 26.45, -42.18)
CIE-LCHlch(9.90, 49.78, 302.09°)
OKLaboklab(23.44% -0.0011 -0.1222)
OKLCHoklch(23.44% 0.122 269.5)
XYZxyz(2.0024, 1.1134, 8.9117)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1056 #56510B
analogous
#0B3656 #0B1056 #2C0B56
triadic
#0B1056 #560B10 #10560B
tetradic
#0B1056 #560B36 #56510B #0B562C
square
#0B1056 #560B36 #56510B #0B562C
split-complementary
#0B1056 #562C0B #36560B
monochromatic
#03051B #040620 #0B1056 #121A8C #1924C3

Accessibility & contrast

On white

17.17
#0B1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0B1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1056
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1056#FFFFFF#000000##FFFFFF
##0B10561.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1056;
/* rgb */ color: rgb(11, 16, 86);
/* oklch */ color: oklch(23.4% 0.122 269.5);
Tailwind
colors: {
  custom: {
    50: '#5b4f87',
    500: '#0b1056',
    950: '#000000',
  },
}
SCSS
$custom: #0b1056;
$custom-light: #5b4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1056",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 236,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23441,
    "c": 0.1222,
    "h": 269.5
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#0B1056
secondary
#918B2B
accent
#E734F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0B1056

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

Preview Lab → · Contrast checker → · Palette generator →

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