#0B1D56#0B1D56

#0B1D56 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.106 H 265.7°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0B1D56
RGBrgb(11, 29, 86)
HSLhsl(226, 77%, 19%)
HSVhsv(226, 87%, 34%)
CMYKcmyk(87.2%, 66.3%, 0%, 66.3%)
CIE-LABlab(13.36, 17.15, -36.49)
CIE-LCHlch(13.36, 40.32, 295.17°)
OKLaboklab(25.96% -0.0079 -0.1055)
OKLCHoklch(25.96% 0.106 265.7)
XYZxyz(2.2565, 1.6215, 8.9963)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1D56 #56440B
analogous
#0B4356 #0B1D56 #1F0B56
triadic
#0B1D56 #560B1D #1D560B
tetradic
#0B1D56 #560B43 #56440B #0B561F
square
#0B1D56 #560B43 #56440B #0B561F
split-complementary
#0B1D56 #561F0B #43560B
monochromatic
#03091B #040B20 #0B1D56 #122F8C #1942C3

Accessibility & contrast

On white

15.86
#0B1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1D56
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1D56#FFFFFF#000000##FFFFFF
##0B1D561.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b1d56;
/* rgb */ color: rgb(11, 29, 86);
/* oklch */ color: oklch(26.0% 0.106 265.7);
Tailwind
colors: {
  custom: {
    50: '#595886',
    500: '#0b1d56',
    950: '#000000',
  },
}
SCSS
$custom: #0b1d56;
$custom-light: #595886;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1d56",
  "rgb": {
    "r": 11,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 225.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25958,
    "c": 0.10585,
    "h": 265.7
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#0B1D56
secondary
#91792B
accent
#C634F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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