#0B072D#0B072D

#0B072D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.073 H 280.1°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#0B072D
RGBrgb(11, 7, 45)
HSLhsl(246, 73%, 10%)
HSVhsv(246, 84%, 18%)
CMYKcmyk(75.6%, 84.4%, 0%, 82.4%)
CIE-LABlab(3.73, 12.10, -23.03)
CIE-LCHlch(3.73, 26.01, 297.72°)
OKLaboklab(16.74% 0.0128 -0.072)
OKLCHoklch(16.74% 0.073 280.1)
XYZxyz(0.6875, 0.4125, 2.5255)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B072D #292D07
analogous
#07162D #0B072D #1E072D
triadic
#0B072D #2D0B07 #072D0B
tetradic
#0B072D #2D0716 #292D07 #072D1E
square
#0B072D #2D0716 #292D07 #072D1E
split-complementary
#0B072D #2D1E07 #162D07
monochromatic
#06041A #06041A #0B072D #180F62 #251797

Accessibility & contrast

On white

19.40
#0B072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B072D
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B072D#FFFFFF#000000##FFFFFF
##0B072D1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b072d;
/* rgb */ color: rgb(11, 7, 45);
/* oklch */ color: oklch(16.7% 0.073 280.1);
Tailwind
colors: {
  custom: {
    50: '#4d4966',
    500: '#0b072d',
    950: '#000000',
  },
}
SCSS
$custom: #0b072d;
$custom-light: #4d4966;
$custom-dark: #000000;
JSON
{
  "hex": "#0b072d",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 246.316,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16745,
    "c": 0.0731,
    "h": 280.1
  },
  "luminance": 0.00413
}

Semantic roles & 50–950 ramp

primary
#0B072D
secondary
#656D23
accent
#F038DC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0B072D

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

Preview Lab → · Contrast checker → · Palette generator →

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