#0B1B56#0B1B56

#0B1B56 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.109 H 266.5°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#0B1B56
RGBrgb(11, 27, 86)
HSLhsl(227, 77%, 19%)
HSVhsv(227, 87%, 34%)
CMYKcmyk(87.2%, 68.6%, 0%, 66.3%)
CIE-LABlab(12.78, 18.66, -37.44)
CIE-LCHlch(12.78, 41.83, 296.48°)
OKLaboklab(25.53% -0.0066 -0.1084)
OKLCHoklch(25.53% 0.109 266.5)
XYZxyz(2.2091, 1.5266, 8.9805)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1B56 #56460B
analogous
#0B4156 #0B1B56 #210B56
triadic
#0B1B56 #560B1B #1B560B
tetradic
#0B1B56 #560B41 #56460B #0B5621
square
#0B1B56 #560B41 #56460B #0B5621
split-complementary
#0B1B56 #56210B #41560B
monochromatic
#03091B #040A20 #0B1B56 #122C8C #193DC3

Accessibility & contrast

On white

16.09
#0B1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0B1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1B56
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1B56#FFFFFF#000000##FFFFFF
##0B1B561.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0b1b56;
/* rgb */ color: rgb(11, 27, 86);
/* oklch */ color: oklch(25.5% 0.109 266.5);
Tailwind
colors: {
  custom: {
    50: '#5a5786',
    500: '#0b1b56',
    950: '#000000',
  },
}
SCSS
$custom: #0b1b56;
$custom-light: #5a5786;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1b56",
  "rgb": {
    "r": 11,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 227.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25525,
    "c": 0.10858,
    "h": 266.5
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#0B1B56
secondary
#917C2B
accent
#CB34F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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