#0B072F#0B072F

#0B072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.076 H 279.3°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#0B072F
RGBrgb(11, 7, 47)
HSLhsl(246, 74%, 11%)
HSVhsv(246, 85%, 18%)
CMYKcmyk(76.6%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.87, 13.10, -24.30)
CIE-LCHlch(3.87, 27.61, 298.33°)
OKLaboklab(16.98% 0.0124 -0.0752)
OKLCHoklch(16.98% 0.076 279.3)
XYZxyz(0.7269, 0.4283, 2.7331)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B072F #2B2F07
analogous
#07172F #0B072F #1F072F
triadic
#0B072F #2F0B07 #072F0B
tetradic
#0B072F #2F0717 #2B2F07 #072F1F
square
#0B072F #2F0717 #2B2F07 #072F1F
split-complementary
#0B072F #2F1F07 #172F07
monochromatic
#06041B #06041B #0B072F #170F64 #24179A

Accessibility & contrast

On white

19.34
#0B072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0B072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B072F
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B072F#FFFFFF#000000##FFFFFF
##0B072F1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0b072f;
/* rgb */ color: rgb(11, 7, 47);
/* oklch */ color: oklch(17.0% 0.076 279.3);
Tailwind
colors: {
  custom: {
    50: '#4e4968',
    500: '#0b072f',
    950: '#000000',
  },
}
SCSS
$custom: #0b072f;
$custom-light: #4e4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0b072f",
  "rgb": {
    "r": 11,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 246,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16984,
    "c": 0.07625,
    "h": 279.3
  },
  "luminance": 0.00428
}

Semantic roles & 50–950 ramp

primary
#0B072F
secondary
#676F23
accent
#F137DE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B072F

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

Preview Lab → · Contrast checker → · Palette generator →

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