#07163B#07163B

#07163B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.075 H 264.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#07163B
RGBrgb(7, 22, 59)
HSLhsl(223, 79%, 13%)
HSVhsv(223, 88%, 23%)
CMYKcmyk(88.1%, 62.7%, 0%, 76.9%)
CIE-LABlab(8.43, 9.92, -25.75)
CIE-LCHlch(8.43, 27.59, 291.07°)
OKLaboklab(21.42% -0.0077 -0.0742)
OKLCHoklch(21.42% 0.075 264.1)
XYZxyz(1.1637, 0.9346, 4.2559)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07163B #3B2C07
analogous
#07303B #07163B #12073B
triadic
#07163B #3B0716 #163B07
tetradic
#07163B #3B0730 #3B2C07 #073B12
square
#07163B #3B0730 #3B2C07 #073B12
split-complementary
#07163B #3B1207 #303B07
monochromatic
#030A1B #030A1B #07163B #0D2A72 #143FA8

Accessibility & contrast

On white

17.69
#07163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#07163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07163B
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07163B#FFFFFF#000000##FFFFFF
##07163B1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #07163b;
/* rgb */ color: rgb(7, 22, 59);
/* oklch */ color: oklch(21.4% 0.075 264.1);
Tailwind
colors: {
  custom: {
    50: '#505271',
    500: '#07163b',
    950: '#000000',
  },
}
SCSS
$custom: #07163b;
$custom-light: #505271;
$custom-dark: #000000;
JSON
{
  "hex": "#07163b",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 222.692,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21418,
    "c": 0.07462,
    "h": 264.1
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#07163B
secondary
#7A6123
accent
#BD33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #07163B

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

Preview Lab → · Contrast checker → · Palette generator →

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