#07173C#07173C

#07173C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.075 H 263.5°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#07173C
RGBrgb(7, 23, 60)
HSLhsl(222, 79%, 13%)
HSVhsv(222, 88%, 24%)
CMYKcmyk(88.3%, 61.7%, 0%, 76.5%)
CIE-LABlab(8.86, 9.58, -25.77)
CIE-LCHlch(8.86, 27.50, 290.39°)
OKLaboklab(21.77% -0.0085 -0.0743)
OKLCHoklch(21.77% 0.075 263.5)
XYZxyz(1.2093, 0.9841, 4.4003)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07173C #3C2C07
analogous
#07313C #07173C #11073C
triadic
#07173C #3C0717 #173C07
tetradic
#07173C #3C0731 #3C2C07 #073C11
square
#07173C #3C0731 #3C2C07 #073C11
split-complementary
#07173C #3C1107 #313C07
monochromatic
#030B1B #030B1B #07173C #0D2C73 #1441AA

Accessibility & contrast

On white

17.55
#07173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#07173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07173C
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07173C#FFFFFF#000000##FFFFFF
##07173C1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #07173c;
/* rgb */ color: rgb(7, 23, 60);
/* oklch */ color: oklch(21.8% 0.075 263.5);
Tailwind
colors: {
  custom: {
    50: '#505372',
    500: '#07173c',
    950: '#000000',
  },
}
SCSS
$custom: #07173c;
$custom-light: #505372;
$custom-dark: #000000;
JSON
{
  "hex": "#07173c",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 221.887,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21767,
    "c": 0.07477,
    "h": 263.5
  },
  "luminance": 0.00984
}

Semantic roles & 50–950 ramp

primary
#07173C
secondary
#7B6123
accent
#BB32F6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #07173C

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

Preview Lab → · Contrast checker → · Palette generator →

#07173C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva