#07163F#07163F

#07163F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.081 H 264.8°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#07163F
RGBrgb(7, 22, 63)
HSLhsl(224, 80%, 14%)
HSVhsv(224, 89%, 25%)
CMYKcmyk(88.9%, 65.1%, 0%, 75.3%)
CIE-LABlab(8.80, 11.78, -28.00)
CIE-LCHlch(8.80, 30.38, 292.81°)
OKLaboklab(21.81% -0.0073 -0.0808)
OKLCHoklch(21.81% 0.081 264.8)
XYZxyz(1.2714, 0.9777, 4.8234)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07163F #3F3007
analogous
#07323F #07163F #14073F
triadic
#07163F #3F0716 #163F07
tetradic
#07163F #3F0732 #3F3007 #073F14
square
#07163F #3F0732 #3F3007 #073F14
split-complementary
#07163F #3F1407 #323F07
monochromatic
#030A1C #030A1C #07163F #0D2976 #133CAD

Accessibility & contrast

On white

17.56
#07163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#07163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07163F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07163F#FFFFFF#000000##FFFFFF
##07163F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #07163f;
/* rgb */ color: rgb(7, 22, 63);
/* oklch */ color: oklch(21.8% 0.081 264.8);
Tailwind
colors: {
  custom: {
    50: '#515274',
    500: '#07163f',
    950: '#000000',
  },
}
SCSS
$custom: #07163f;
$custom-light: #515274;
$custom-dark: #000000;
JSON
{
  "hex": "#07163f",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 223.929,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21813,
    "c": 0.08118,
    "h": 264.8
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#07163F
secondary
#7E6624
accent
#C231F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #07163F

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

Preview Lab → · Contrast checker → · Palette generator →

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