#0B1456#0B1456

#0B1456 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.118 H 268.6°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#0B1456
RGBrgb(11, 20, 86)
HSLhsl(233, 77%, 19%)
HSVhsv(233, 87%, 34%)
CMYKcmyk(87.2%, 76.7%, 0%, 66.3%)
CIE-LABlab(10.87, 23.74, -40.58)
CIE-LCHlch(10.87, 47.01, 300.34°)
OKLaboklab(24.13% -0.0028 -0.1176)
OKLCHoklch(24.13% 0.118 268.6)
XYZxyz(2.0673, 1.2431, 8.9333)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1456 #564D0B
analogous
#0B3A56 #0B1456 #280B56
triadic
#0B1456 #560B14 #14560B
tetradic
#0B1456 #560B3A #564D0B #0B5628
square
#0B1456 #560B3A #564D0B #0B5628
split-complementary
#0B1456 #56280B #3A560B
monochromatic
#03061B #040720 #0B1456 #12218C #192DC3

Accessibility & contrast

On white

16.82
#0B1456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0B1456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1456
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1456#FFFFFF#000000##FFFFFF
##0B14561.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1456;
/* rgb */ color: rgb(11, 20, 86);
/* oklch */ color: oklch(24.1% 0.118 268.6);
Tailwind
colors: {
  custom: {
    50: '#5a5186',
    500: '#0b1456',
    950: '#000000',
  },
}
SCSS
$custom: #0b1456;
$custom-light: #5a5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1456",
  "rgb": {
    "r": 11,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 232.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24134,
    "c": 0.11759,
    "h": 268.6
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#0B1456
secondary
#91852B
accent
#DD34F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0B1456

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

Preview Lab → · Contrast checker → · Palette generator →

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