#0B1556#0B1556

#0B1556 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.116 H 268.4°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#0B1556
RGBrgb(11, 21, 86)
HSLhsl(232, 77%, 19%)
HSVhsv(232, 87%, 34%)
CMYKcmyk(87.2%, 75.6%, 0%, 66.3%)
CIE-LABlab(11.13, 23.04, -40.15)
CIE-LCHlch(11.13, 46.29, 299.85°)
OKLaboklab(24.32% -0.0033 -0.1163)
OKLCHoklch(24.32% 0.116 268.4)
XYZxyz(2.0853, 1.2791, 8.9393)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1556 #564C0B
analogous
#0B3B56 #0B1556 #270B56
triadic
#0B1556 #560B15 #15560B
tetradic
#0B1556 #560B3B #564C0B #0B5627
square
#0B1556 #560B3B #564C0B #0B5627
split-complementary
#0B1556 #56270B #3B560B
monochromatic
#03071B #040820 #0B1556 #12228C #192FC3

Accessibility & contrast

On white

16.72
#0B1556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0B1556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1556
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1556#FFFFFF#000000##FFFFFF
##0B15561.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0b1556;
/* rgb */ color: rgb(11, 21, 86);
/* oklch */ color: oklch(24.3% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#5a5286',
    500: '#0b1556',
    950: '#000000',
  },
}
SCSS
$custom: #0b1556;
$custom-light: #5a5286;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1556",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 232,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2432,
    "c": 0.11637,
    "h": 268.4
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#0B1556
secondary
#91842B
accent
#DA34F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0B1556

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

Preview Lab → · Contrast checker → · Palette generator →

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