#0B072C#0B072C

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

Color values

HEX#0B072C
RGBrgb(11, 7, 44)
HSLhsl(246, 73%, 10%)
HSVhsv(246, 84%, 17%)
CMYKcmyk(75%, 84.1%, 0%, 82.7%)
CIE-LABlab(3.66, 11.62, -22.38)
CIE-LCHlch(3.66, 25.22, 297.44°)
OKLaboklab(16.63% 0.013 -0.0703)
OKLCHoklch(16.63% 0.072 280.5)
XYZxyz(0.6685, 0.4049, 2.4253)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B072C #282C07
analogous
#07162C #0B072C #1D072C
triadic
#0B072C #2C0B07 #072C0B
tetradic
#0B072C #2C0716 #282C07 #072C1D
square
#0B072C #2C0716 #282C07 #072C1D
split-complementary
#0B072C #2C1D07 #162C07
monochromatic
#07041A #07041A #0B072C #180F61 #251896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B072C#FFFFFF#000000##FFFFFF
##0B072C1.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)
#000E2D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#001118
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b072c;
/* rgb */ color: rgb(11, 7, 44);
/* oklch */ color: oklch(16.6% 0.071 280.5);
Tailwind
colors: {
  custom: {
    50: '#4d4965',
    500: '#0b072c',
    950: '#000000',
  },
}
SCSS
$custom: #0b072c;
$custom-light: #4d4965;
$custom-dark: #000000;
JSON
{
  "hex": "#0b072c",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 246.486,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.16627,
    "c": 0.0715,
    "h": 280.5
  },
  "luminance": 0.00405
}

Semantic roles & 50–950 ramp

primary
#0B072C
secondary
#646C23
accent
#EF39DC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010105
muted
#77777A

Preview Lab

Preview with #0B072C

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

Preview Lab → · Contrast checker → · Palette generator →

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