#0B072A#0B072A

#0B072A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.068 H 281.3°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#0B072A
RGBrgb(11, 7, 42)
HSLhsl(247, 71%, 10%)
HSVhsv(247, 83%, 16%)
CMYKcmyk(73.8%, 83.3%, 0%, 83.5%)
CIE-LABlab(3.52, 10.69, -21.07)
CIE-LCHlch(3.52, 23.63, 296.89°)
OKLaboklab(16.4% 0.0134 -0.0669)
OKLCHoklch(16.4% 0.068 281.3)
XYZxyz(0.6318, 0.3902, 2.2321)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B072A #262A07
analogous
#07152A #0B072A #1D072A
triadic
#0B072A #2A0B07 #072A0B
tetradic
#0B072A #2A0715 #262A07 #072A1D
square
#0B072A #2A0715 #262A07 #072A1D
split-complementary
#0B072A #2A1D07 #152A07
monochromatic
#07041A #07041A #0B072A #19105E #261893

Accessibility & contrast

On white

19.48
#0B072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B072A
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B072A#FFFFFF#000000##FFFFFF
##0B072A1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000B29
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b072a;
/* rgb */ color: rgb(11, 7, 42);
/* oklch */ color: oklch(16.4% 0.068 281.3);
Tailwind
colors: {
  custom: {
    50: '#4c4964',
    500: '#0b072a',
    950: '#000000',
  },
}
SCSS
$custom: #0b072a;
$custom-light: #4c4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0b072a",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 246.857,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16395,
    "c": 0.06828,
    "h": 281.3
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#0B072A
secondary
#626A23
accent
#EE3ADA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0B072A

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

Preview Lab → · Contrast checker → · Palette generator →

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