#0B072E#0B072E

#0B072E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.075 H 279.7°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0B072E
RGBrgb(11, 7, 46)
HSLhsl(246, 74%, 10%)
HSVhsv(246, 85%, 18%)
CMYKcmyk(76.1%, 84.8%, 0%, 82%)
CIE-LABlab(3.80, 12.60, -23.67)
CIE-LCHlch(3.80, 26.81, 298.02°)
OKLaboklab(16.86% 0.0126 -0.0736)
OKLCHoklch(16.86% 0.075 279.7)
XYZxyz(0.7070, 0.4203, 2.6281)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B072E #2A2E07
analogous
#07162E #0B072E #1E072E
triadic
#0B072E #2E0B07 #072E0B
tetradic
#0B072E #2E0716 #2A2E07 #072E1E
square
#0B072E #2E0716 #2A2E07 #072E1E
split-complementary
#0B072E #2E1E07 #162E07
monochromatic
#06041B #06041B #0B072E #180F63 #241798

Accessibility & contrast

On white

19.37
#0B072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B072E
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B072E#FFFFFF#000000##FFFFFF
##0B072E1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b072e;
/* rgb */ color: rgb(11, 7, 46);
/* oklch */ color: oklch(16.9% 0.075 279.7);
Tailwind
colors: {
  custom: {
    50: '#4d4967',
    500: '#0b072e',
    950: '#000000',
  },
}
SCSS
$custom: #0b072e;
$custom-light: #4d4967;
$custom-dark: #000000;
JSON
{
  "hex": "#0b072e",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 246.154,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16864,
    "c": 0.07468,
    "h": 279.7
  },
  "luminance": 0.0042
}

Semantic roles & 50–950 ramp

primary
#0B072E
secondary
#666E23
accent
#F038DD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B072E

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

Preview Lab → · Contrast checker → · Palette generator →

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