#0B0336#0B0336

#0B0336 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.093 H 278.7°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#0B0336
RGBrgb(11, 3, 54)
HSLhsl(249, 89%, 11%)
HSVhsv(249, 94%, 21%)
CMYKcmyk(79.6%, 94.4%, 0%, 78.8%)
CIE-LABlab(3.64, 18.58, -29.88)
CIE-LCHlch(3.64, 35.18, 301.88°)
OKLaboklab(16.99% 0.0142 -0.0922)
OKLCHoklch(16.99% 0.093 278.7)
XYZxyz(0.8362, 0.4025, 3.5229)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0336 #2E3603
analogous
#031436 #0B0336 #240336
triadic
#0B0336 #360B03 #03360B
tetradic
#0B0336 #360314 #2E3603 #033624
square
#0B0336 #360314 #2E3603 #033624
split-complementary
#0B0336 #362403 #143603
monochromatic
#06021D #06021D #0B0336 #170670 #2309AA

Accessibility & contrast

On white

19.43
#0B0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0336
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0336#FFFFFF#000000##FFFFFF
##0B03361.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000B35
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b0336;
/* rgb */ color: rgb(11, 3, 54);
/* oklch */ color: oklch(17.0% 0.093 278.7);
Tailwind
colors: {
  custom: {
    50: '#50476d',
    500: '#0b0336',
    950: '#000000',
  },
}
SCSS
$custom: #0b0336;
$custom-light: #50476d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0336",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 249.412,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.16986,
    "c": 0.09324,
    "h": 278.7
  },
  "luminance": 0.00403
}

Semantic roles & 50–950 ramp

primary
#0B0336
secondary
#6A791C
accent
#FF29DD
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0336

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

Preview Lab → · Contrast checker → · Palette generator →

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