#0B1856#0B1856

#0B1856 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.113 H 267.5°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#0B1856
RGBrgb(11, 24, 86)
HSLhsl(230, 77%, 19%)
HSVhsv(230, 87%, 34%)
CMYKcmyk(87.2%, 72.1%, 0%, 66.3%)
CIE-LABlab(11.93, 20.88, -38.83)
CIE-LCHlch(11.93, 44.09, 298.27°)
OKLaboklab(24.9% -0.0049 -0.1125)
OKLCHoklch(24.9% 0.113 267.5)
XYZxyz(2.1438, 1.3960, 8.9588)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1856 #56490B
analogous
#0B3E56 #0B1856 #240B56
triadic
#0B1856 #560B18 #18560B
tetradic
#0B1856 #560B3E #56490B #0B5624
square
#0B1856 #560B3E #56490B #0B5624
split-complementary
#0B1856 #56240B #3E560B
monochromatic
#03081B #040920 #0B1856 #12278C #1936C3

Accessibility & contrast

On white

16.42
#0B1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0B1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1856
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1856#FFFFFF#000000##FFFFFF
##0B18561.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0b1856;
/* rgb */ color: rgb(11, 24, 86);
/* oklch */ color: oklch(24.9% 0.113 267.5);
Tailwind
colors: {
  custom: {
    50: '#5a5486',
    500: '#0b1856',
    950: '#000000',
  },
}
SCSS
$custom: #0b1856;
$custom-light: #5a5486;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1856",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 229.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24904,
    "c": 0.11256,
    "h": 267.5
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#0B1856
secondary
#91802B
accent
#D334F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0B1856

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

Preview Lab → · Contrast checker → · Palette generator →

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