#07173E#07173E

#07173E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.078 H 263.9°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#07173E
RGBrgb(7, 23, 62)
HSLhsl(223, 80%, 14%)
HSVhsv(223, 89%, 24%)
CMYKcmyk(88.7%, 62.9%, 0%, 75.7%)
CIE-LABlab(9.04, 10.51, -26.91)
CIE-LCHlch(9.04, 28.89, 291.34°)
OKLaboklab(21.96% -0.0083 -0.0776)
OKLCHoklch(21.96% 0.078 263.9)
XYZxyz(1.2632, 1.0056, 4.6840)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07173E #3E2E07
analogous
#07323E #07173E #12073E
triadic
#07173E #3E0717 #173E07
tetradic
#07173E #3E0732 #3E2E07 #073E12
square
#07173E #3E0732 #3E2E07 #073E12
split-complementary
#07173E #3E1207 #323E07
monochromatic
#030A1B #030A1B #07173E #0D2B75 #1340AC

Accessibility & contrast

On white

17.48
#07173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07173E
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07173E#FFFFFF#000000##FFFFFF
##07173E1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #07173e;
/* rgb */ color: rgb(7, 23, 62);
/* oklch */ color: oklch(22.0% 0.078 263.9);
Tailwind
colors: {
  custom: {
    50: '#515374',
    500: '#07173e',
    950: '#000000',
  },
}
SCSS
$custom: #07173e;
$custom-light: #515374;
$custom-dark: #000000;
JSON
{
  "hex": "#07173e",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 222.545,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2196,
    "c": 0.07806,
    "h": 263.9
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#07173E
secondary
#7D6324
accent
#BD32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #07173E

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

Preview Lab → · Contrast checker → · Palette generator →

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