#07162B#07162B

#07162B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.047 H 256.9°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#07162B
RGBrgb(7, 22, 43)
HSLhsl(215, 72%, 10%)
HSVhsv(215, 84%, 17%)
CMYKcmyk(83.7%, 48.8%, 0%, 83.1%)
CIE-LABlab(7.17, 2.31, -16.10)
CIE-LCHlch(7.17, 16.26, 278.17°)
OKLaboklab(20.01% -0.0107 -0.046)
OKLCHoklch(20.01% 0.047 256.9)
XYZxyz(0.8104, 0.7933, 2.3954)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07162B #2B1C07
analogous
#07282B #07162B #0A072B
triadic
#07162B #2B0716 #162B07
tetradic
#07162B #2B0728 #2B1C07 #072B0A
square
#07162B #2B0728 #2B1C07 #072B0A
split-complementary
#07162B #2B0A07 #282B07
monochromatic
#040D1A #040D1A #07162B #103160 #184C94

Accessibility & contrast

On white

18.13
#07162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07162B
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07162B#FFFFFF#000000##FFFFFF
##07162B1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182C
Deuteranopia (green-blind)
#07142B
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07162b;
/* rgb */ color: rgb(7, 22, 43);
/* oklch */ color: oklch(20.0% 0.047 256.9);
Tailwind
colors: {
  custom: {
    50: '#4b5264',
    500: '#07162b',
    950: '#000000',
  },
}
SCSS
$custom: #07162b;
$custom-light: #4b5264;
$custom-dark: #000000;
JSON
{
  "hex": "#07162b",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 215,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20006,
    "c": 0.04725,
    "h": 256.9
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#07162B
secondary
#6B4D23
accent
#A339EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #07162B

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

Preview Lab → · Contrast checker → · Palette generator →

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