#0B1A56#0B1A56

#0B1A56 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.110 H 266.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#0B1A56
RGBrgb(11, 26, 86)
HSLhsl(228, 77%, 19%)
HSVhsv(228, 87%, 34%)
CMYKcmyk(87.2%, 69.8%, 0%, 66.3%)
CIE-LABlab(12.49, 19.40, -37.91)
CIE-LCHlch(12.49, 42.59, 297.10°)
OKLaboklab(25.31% -0.006 -0.1098)
OKLCHoklch(25.31% 0.11 266.9)
XYZxyz(2.1865, 1.4816, 8.9730)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1A56 #56470B
analogous
#0B4056 #0B1A56 #220B56
triadic
#0B1A56 #560B1A #1A560B
tetradic
#0B1A56 #560B40 #56470B #0B5622
square
#0B1A56 #560B40 #56470B #0B5622
split-complementary
#0B1A56 #56220B #40560B
monochromatic
#03081B #040A20 #0B1A56 #122A8C #193BC3

Accessibility & contrast

On white

16.20
#0B1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0B1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1A56
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1A56#FFFFFF#000000##FFFFFF
##0B1A561.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0b1a56;
/* rgb */ color: rgb(11, 26, 86);
/* oklch */ color: oklch(25.3% 0.110 266.9);
Tailwind
colors: {
  custom: {
    50: '#5a5686',
    500: '#0b1a56',
    950: '#000000',
  },
}
SCSS
$custom: #0b1a56;
$custom-light: #5a5686;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1a56",
  "rgb": {
    "r": 11,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 228,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25314,
    "c": 0.10992,
    "h": 266.9
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#0B1A56
secondary
#917D2B
accent
#CD34F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0B1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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