#0B0B56#0B0B56

#0B0B56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.7% C 0.127 H 270.2°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#0B0B56
RGBrgb(11, 11, 86)
HSLhsl(240, 77%, 19%)
HSVhsv(240, 87%, 34%)
CMYKcmyk(87.2%, 87.2%, 0%, 66.3%)
CIE-LABlab(8.84, 29.49, -43.93)
CIE-LCHlch(8.84, 52.91, 303.87°)
OKLaboklab(22.7% 0.0005 -0.1272)
OKLCHoklch(22.7% 0.127 270.2)
XYZxyz(1.9368, 0.9822, 8.8898)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B56 #56560B
analogous
#0B3156 #0B0B56 #310B56
triadic
#0B0B56 #560B0B #0B560B
tetradic
#0B0B56 #560B31 #56560B #0B5631
square
#0B0B56 #560B31 #56560B #0B5631
split-complementary
#0B0B56 #56310B #31560B
monochromatic
#03031B #040420 #0B0B56 #12128C #1919C3

Accessibility & contrast

On white

17.55
#0B0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0B56
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B56#FFFFFF#000000##FFFFFF
##0B0B561.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D58
Deuteranopia (green-blind)
#001555
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0b0b56;
/* rgb */ color: rgb(11, 11, 86);
/* oklch */ color: oklch(22.7% 0.127 270.2);
Tailwind
colors: {
  custom: {
    50: '#5b4c87',
    500: '#0b0b56',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b56;
$custom-light: #5b4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b56",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22695,
    "c": 0.12721,
    "h": 270.2
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#0B0B56
secondary
#91912B
accent
#F434F4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0B0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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