#0B0B47#0B0B47

#0B0B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.107 H 272.1°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#0B0B47
RGBrgb(11, 11, 71)
HSLhsl(240, 73%, 16%)
HSVhsv(240, 85%, 28%)
CMYKcmyk(84.5%, 84.5%, 0%, 72.2%)
CIE-LABlab(6.91, 23.64, -36.75)
CIE-LCHlch(6.91, 43.70, 302.76°)
OKLaboklab(20.73% 0.0039 -0.1066)
OKLCHoklch(20.73% 0.107 272.1)
XYZxyz(1.3946, 0.7653, 6.0342)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B47 #47470B
analogous
#0B2947 #0B0B47 #290B47
triadic
#0B0B47 #470B0B #0B470B
tetradic
#0B0B47 #470B29 #47470B #0B4729
square
#0B0B47 #470B29 #47470B #0B4729
split-complementary
#0B0B47 #47290B #29470B
monochromatic
#04041A #04041A #0B0B47 #13137C #1B1BB1

Accessibility & contrast

On white

18.21
#0B0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B47
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B47#FFFFFF#000000##FFFFFF
##0B0B471.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0b47;
/* rgb */ color: rgb(11, 11, 71);
/* oklch */ color: oklch(20.7% 0.107 272.1);
Tailwind
colors: {
  custom: {
    50: '#574b7b',
    500: '#0b0b47',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b47;
$custom-light: #574b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b47",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 240,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20727,
    "c": 0.1067,
    "h": 272.1
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#0B0B47
secondary
#83832A
accent
#F038F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0B0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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