#07173D#07173D

#07173D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.076 H 263.7°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#07173D
RGBrgb(7, 23, 61)
HSLhsl(222, 79%, 13%)
HSVhsv(222, 89%, 24%)
CMYKcmyk(88.5%, 62.3%, 0%, 76.1%)
CIE-LABlab(8.95, 10.05, -26.34)
CIE-LCHlch(8.95, 28.20, 290.88°)
OKLaboklab(21.86% -0.0084 -0.076)
OKLCHoklch(21.86% 0.076 263.7)
XYZxyz(1.2360, 0.9947, 4.5408)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07173D #3D2D07
analogous
#07323D #07173D #12073D
triadic
#07173D #3D0717 #173D07
tetradic
#07173D #3D0732 #3D2D07 #073D12
square
#07173D #3D0732 #3D2D07 #073D12
split-complementary
#07173D #3D1207 #323D07
monochromatic
#030A1B #030A1B #07173D #0D2C74 #1440AB

Accessibility & contrast

On white

17.51
#07173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07173D
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07173D#FFFFFF#000000##FFFFFF
##07173D1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #07173d;
/* rgb */ color: rgb(7, 23, 61);
/* oklch */ color: oklch(21.9% 0.076 263.7);
Tailwind
colors: {
  custom: {
    50: '#515373',
    500: '#07173d',
    950: '#000000',
  },
}
SCSS
$custom: #07173d;
$custom-light: #515373;
$custom-dark: #000000;
JSON
{
  "hex": "#07173d",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 222.222,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21863,
    "c": 0.07642,
    "h": 263.7
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#07173D
secondary
#7C6223
accent
#BC32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #07173D

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

Preview Lab → · Contrast checker → · Palette generator →

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