#07173A#07173A

#07173A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.071 H 263.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#07173A
RGBrgb(7, 23, 58)
HSLhsl(221, 78%, 13%)
HSVhsv(221, 88%, 23%)
CMYKcmyk(87.9%, 60.3%, 0%, 77.3%)
CIE-LABlab(8.68, 8.65, -24.63)
CIE-LCHlch(8.68, 26.10, 289.35°)
OKLaboklab(21.58% -0.0087 -0.0709)
OKLCHoklch(21.58% 0.071 263)
XYZxyz(1.1575, 0.9633, 4.1271)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07173A #3A2A07
analogous
#07313A #07173A #10073A
triadic
#07173A #3A0717 #173A07
tetradic
#07173A #3A0731 #3A2A07 #073A10
square
#07173A #3A0731 #3A2A07 #073A10
split-complementary
#07173A #3A1007 #313A07
monochromatic
#030B1B #030B1B #07173A #0E2D71 #1442A7

Accessibility & contrast

On white

17.61
#07173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#07173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07173A
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07173A#FFFFFF#000000##FFFFFF
##07173A1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #07173a;
/* rgb */ color: rgb(7, 23, 58);
/* oklch */ color: oklch(21.6% 0.071 263.0);
Tailwind
colors: {
  custom: {
    50: '#505370',
    500: '#07173a',
    950: '#000000',
  },
}
SCSS
$custom: #07173a;
$custom-light: #505370;
$custom-dark: #000000;
JSON
{
  "hex": "#07173a",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 221.176,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21578,
    "c": 0.07144,
    "h": 263
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#07173A
secondary
#795E23
accent
#B833F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #07173A

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

Preview Lab → · Contrast checker → · Palette generator →

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