#0B1045#0B1045

#0B1045 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.098 H 270.9°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0B1045
RGBrgb(11, 16, 69)
HSLhsl(235, 73%, 16%)
HSVhsv(235, 84%, 27%)
CMYKcmyk(84.1%, 76.8%, 0%, 72.9%)
CIE-LABlab(7.87, 19.59, -33.76)
CIE-LCHlch(7.87, 39.04, 300.12°)
OKLaboklab(21.38% 0.0015 -0.0977)
OKLCHoklch(21.38% 0.098 270.9)
XYZxyz(1.3971, 0.8713, 5.7236)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1045 #45400B
analogous
#0B2D45 #0B1045 #230B45
triadic
#0B1045 #450B10 #10450B
tetradic
#0B1045 #450B2D #45400B #0B4523
square
#0B1045 #450B2D #45400B #0B4523
split-complementary
#0B1045 #45230B #2D450B
monochromatic
#04061A #04061A #0B1045 #131C7A #1C28AF

Accessibility & contrast

On white

17.88
#0B1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0B1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1045
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1045#FFFFFF#000000##FFFFFF
##0B10451.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0b1045;
/* rgb */ color: rgb(11, 16, 69);
/* oklch */ color: oklch(21.4% 0.098 270.9);
Tailwind
colors: {
  custom: {
    50: '#554e79',
    500: '#0b1045',
    950: '#000000',
  },
}
SCSS
$custom: #0b1045;
$custom-light: #554e79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1045",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 234.828,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21378,
    "c": 0.09772,
    "h": 270.9
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#0B1045
secondary
#817A2A
accent
#DF39EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B1045

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

Preview Lab → · Contrast checker → · Palette generator →

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