#07163A#07163A

#07163A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.073 H 263.9°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#07163A
RGBrgb(7, 22, 58)
HSLhsl(222, 78%, 13%)
HSVhsv(222, 88%, 23%)
CMYKcmyk(87.9%, 62.1%, 0%, 77.3%)
CIE-LABlab(8.34, 9.45, -25.17)
CIE-LCHlch(8.34, 26.89, 290.58°)
OKLaboklab(21.32% -0.0078 -0.0725)
OKLCHoklch(21.32% 0.073 263.9)
XYZxyz(1.1380, 0.9243, 4.1206)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07163A #3A2B07
analogous
#072F3A #07163A #11073A
triadic
#07163A #3A0716 #163A07
tetradic
#07163A #3A072F #3A2B07 #073A11
square
#07163A #3A072F #3A2B07 #073A11
split-complementary
#07163A #3A1107 #2F3A07
monochromatic
#030A1B #030A1B #07163A #0E2B71 #143FA7

Accessibility & contrast

On white

17.72
#07163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#07163A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07163A
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07163A#FFFFFF#000000##FFFFFF
##07163A1.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #07163a;
/* rgb */ color: rgb(7, 22, 58);
/* oklch */ color: oklch(21.3% 0.073 263.9);
Tailwind
colors: {
  custom: {
    50: '#505270',
    500: '#07163a',
    950: '#000000',
  },
}
SCSS
$custom: #07163a;
$custom-light: #505270;
$custom-dark: #000000;
JSON
{
  "hex": "#07163a",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 222.353,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21322,
    "c": 0.07295,
    "h": 263.9
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#07163A
secondary
#796023
accent
#BC33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #07163A

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

Preview Lab → · Contrast checker → · Palette generator →

#07163A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva