#07072B#07072B

#07072B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.071 H 274.9°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#07072B
RGBrgb(7, 7, 43)
HSLhsl(240, 72%, 10%)
HSVhsv(240, 84%, 17%)
CMYKcmyk(83.7%, 83.7%, 0%, 83.1%)
CIE-LABlab(3.36, 10.09, -22.11)
CIE-LCHlch(3.36, 24.31, 294.53°)
OKLaboklab(16.11% 0.0061 -0.0708)
OKLCHoklch(16.11% 0.071 274.9)
XYZxyz(0.5995, 0.3715, 2.3251)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07072B #2B2B07
analogous
#07192B #07072B #19072B
triadic
#07072B #2B0707 #072B07
tetradic
#07072B #2B0719 #2B2B07 #072B19
square
#07072B #2B0719 #2B2B07 #072B19
split-complementary
#07072B #2B1907 #192B07
monochromatic
#04041A #04041A #07072B #101060 #181894

Accessibility & contrast

On white

19.55
#07072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#07072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07072B
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07072B#FFFFFF#000000##FFFFFF
##07072B1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #07072b;
/* rgb */ color: rgb(7, 7, 43);
/* oklch */ color: oklch(16.1% 0.071 274.9);
Tailwind
colors: {
  custom: {
    50: '#4b4a64',
    500: '#07072b',
    950: '#000000',
  },
}
SCSS
$custom: #07072b;
$custom-light: #4b4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#07072b",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 240,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16111,
    "c": 0.07107,
    "h": 274.9
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#07072B
secondary
#6B6B23
accent
#EF39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #07072B

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

Preview Lab → · Contrast checker → · Palette generator →

#07072B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva