#0B0C56#0B0C56

#0B0C56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.8% C 0.126 H 270.1°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#0B0C56
RGBrgb(11, 12, 86)
HSLhsl(239, 77%, 19%)
HSVhsv(239, 87%, 34%)
CMYKcmyk(87.2%, 86%, 0%, 66.3%)
CIE-LABlab(9.04, 28.92, -43.61)
CIE-LCHlch(9.04, 52.32, 303.55°)
OKLaboklab(22.83% 0.0002 -0.1263)
OKLCHoklch(22.83% 0.126 270.1)
XYZxyz(1.9486, 1.0058, 8.8937)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C56 #56550B
analogous
#0B3256 #0B0C56 #300B56
triadic
#0B0C56 #560B0C #0C560B
tetradic
#0B0C56 #560B32 #56550B #0B5630
square
#0B0C56 #560B32 #56550B #0B5630
split-complementary
#0B0C56 #56300B #32560B
monochromatic
#03041B #040420 #0B0C56 #12148C #191BC3

Accessibility & contrast

On white

17.48
#0B0C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0B0C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0C56
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C56#FFFFFF#000000##FFFFFF
##0B0C561.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D58
Deuteranopia (green-blind)
#001655
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b0c56;
/* rgb */ color: rgb(11, 12, 86);
/* oklch */ color: oklch(22.8% 0.126 270.1);
Tailwind
colors: {
  custom: {
    50: '#5b4c87',
    500: '#0b0c56',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c56;
$custom-light: #5b4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c56",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 239.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22833,
    "c": 0.12628,
    "h": 270.1
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#0B0C56
secondary
#91902B
accent
#F134F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0B0C56

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

Preview Lab → · Contrast checker → · Palette generator →

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