#07162C#07162C

#07162C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.049 H 257.7°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#07162C
RGBrgb(7, 22, 44)
HSLhsl(216, 73%, 10%)
HSVhsv(216, 84%, 17%)
CMYKcmyk(84.1%, 50%, 0%, 82.7%)
CIE-LABlab(7.23, 2.78, -16.74)
CIE-LCHlch(7.23, 16.97, 279.43°)
OKLaboklab(20.09% -0.0104 -0.0479)
OKLCHoklch(20.09% 0.049 257.7)
XYZxyz(0.8290, 0.8008, 2.4933)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07162C #2C1D07
analogous
#07282C #07162C #0B072C
triadic
#07162C #2C0716 #162C07
tetradic
#07162C #2C0728 #2C1D07 #072C0B
square
#07162C #2C0728 #2C1D07 #072C0B
split-complementary
#07162C #2C0B07 #282C07
monochromatic
#040D1A #040D1A #07162C #0F3061 #184B96

Accessibility & contrast

On white

18.10
#07162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#07162C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07162C
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07162C#FFFFFF#000000##FFFFFF
##07162C1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182D
Deuteranopia (green-blind)
#06142C
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07162c;
/* rgb */ color: rgb(7, 22, 44);
/* oklch */ color: oklch(20.1% 0.049 257.7);
Tailwind
colors: {
  custom: {
    50: '#4b5265',
    500: '#07162c',
    950: '#000000',
  },
}
SCSS
$custom: #07162c;
$custom-light: #4b5265;
$custom-dark: #000000;
JSON
{
  "hex": "#07162c",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 215.676,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20085,
    "c": 0.04899,
    "h": 257.7
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#07162C
secondary
#6C4E23
accent
#A539EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #07162C

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

Preview Lab → · Contrast checker → · Palette generator →

#07162C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva