#0B0541#0B0541

#0B0541 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.105 H 274.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#0B0541
RGBrgb(11, 5, 65)
HSLhsl(246, 86%, 14%)
HSVhsv(246, 92%, 25%)
CMYKcmyk(83.1%, 92.3%, 0%, 74.5%)
CIE-LABlab(5.07, 23.84, -35.52)
CIE-LCHlch(5.07, 42.78, 303.87°)
OKLaboklab(18.92% 0.0086 -0.105)
OKLCHoklch(18.92% 0.105 274.7)
XYZxyz(1.1461, 0.5612, 5.0479)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0541 #3B4105
analogous
#051D41 #0B0541 #290541
triadic
#0B0541 #410B05 #05410B
tetradic
#0B0541 #41051D #3B4105 #054129
square
#0B0541 #41051D #3B4105 #054129
split-complementary
#0B0541 #412905 #1D4105
monochromatic
#05021C #05021C #0B0541 #15097A #1E0EB3

Accessibility & contrast

On white

18.88
#0B0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0B0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0541
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0541#FFFFFF#000000##FFFFFF
##0B05411.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0b0541;
/* rgb */ color: rgb(11, 5, 65);
/* oklch */ color: oklch(18.9% 0.105 274.7);
Tailwind
colors: {
  custom: {
    50: '#554776',
    500: '#0b0541',
    950: '#000000',
  },
}
SCSS
$custom: #0b0541;
$custom-light: #554776;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0541",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 246,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18924,
    "c": 0.10532,
    "h": 274.7
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#0B0541
secondary
#788120
accent
#FC2CE7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0B0541

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

Preview Lab → · Contrast checker → · Palette generator →

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