#0B0546#0B0546

#0B0546 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.6% C 0.112 H 273.5°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0B0546
RGBrgb(11, 5, 70)
HSLhsl(246, 87%, 15%)
HSVhsv(246, 93%, 27%)
CMYKcmyk(84.3%, 92.9%, 0%, 72.5%)
CIE-LABlab(5.62, 26.32, -38.18)
CIE-LCHlch(5.62, 46.37, 304.59°)
OKLaboklab(19.62% 0.0069 -0.1118)
OKLCHoklch(19.62% 0.112 273.5)
XYZxyz(1.2974, 0.6217, 5.8448)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0546 #404605
analogous
#052046 #0B0546 #2B0546
triadic
#0B0546 #460B05 #05460B
tetradic
#0B0546 #460520 #404605 #05462B
square
#0B0546 #460520 #404605 #05462B
split-complementary
#0B0546 #462B05 #204605
monochromatic
#04021D #04021D #0B0546 #14097F #1D0DB8

Accessibility & contrast

On white

18.68
#0B0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0546
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0546#FFFFFF#000000##FFFFFF
##0B05461.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#000F45
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0546;
/* rgb */ color: rgb(11, 5, 70);
/* oklch */ color: oklch(19.6% 0.112 273.5);
Tailwind
colors: {
  custom: {
    50: '#57477a',
    500: '#0b0546',
    950: '#000000',
  },
}
SCSS
$custom: #0b0546;
$custom-light: #57477a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0546",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 245.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19622,
    "c": 0.11202,
    "h": 273.5
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#0B0546
secondary
#7D8621
accent
#FD2BE9
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0B0546

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

Preview Lab → · Contrast checker → · Palette generator →

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