#07162F#07162F

#07162F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.054 H 259.7°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#07162F
RGBrgb(7, 22, 47)
HSLhsl(218, 74%, 11%)
HSVhsv(218, 85%, 18%)
CMYKcmyk(85.1%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.44, 4.23, -18.62)
CIE-LCHlch(7.44, 19.10, 282.81°)
OKLaboklab(20.33% -0.0097 -0.0533)
OKLCHoklch(20.33% 0.054 259.7)
XYZxyz(0.8874, 0.8241, 2.8011)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07162F #2F2007
analogous
#072A2F #07162F #0C072F
triadic
#07162F #2F0716 #162F07
tetradic
#07162F #2F072A #2F2007 #072F0C
square
#07162F #2F072A #2F2007 #072F0C
split-complementary
#07162F #2F0C07 #2A2F07
monochromatic
#040C1B #040C1B #07162F #0F2F64 #17489A

Accessibility & contrast

On white

18.03
#07162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07162F
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07162F#FFFFFF#000000##FFFFFF
##07162F1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1830
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07162f;
/* rgb */ color: rgb(7, 22, 47);
/* oklch */ color: oklch(20.3% 0.054 259.7);
Tailwind
colors: {
  custom: {
    50: '#4c5267',
    500: '#07162f',
    950: '#000000',
  },
}
SCSS
$custom: #07162f;
$custom-light: #4c5267;
$custom-dark: #000000;
JSON
{
  "hex": "#07162f",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 217.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20331,
    "c": 0.05419,
    "h": 259.7
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#07162F
secondary
#6F5223
accent
#AB37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07162F

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

Preview Lab → · Contrast checker → · Palette generator →

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