#07173F#07173F

#07173F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.080 H 264.1°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#07173F
RGBrgb(7, 23, 63)
HSLhsl(223, 80%, 14%)
HSVhsv(223, 89%, 25%)
CMYKcmyk(88.9%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.13, 10.98, -27.47)
CIE-LCHlch(9.13, 29.58, 291.78°)
OKLaboklab(22.06% -0.0082 -0.0793)
OKLCHoklch(22.06% 0.08 264.1)
XYZxyz(1.2909, 1.0167, 4.8299)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07173F #3F2F07
analogous
#07333F #07173F #13073F
triadic
#07173F #3F0717 #173F07
tetradic
#07173F #3F0733 #3F2F07 #073F13
square
#07173F #3F0733 #3F2F07 #073F13
split-complementary
#07173F #3F1307 #333F07
monochromatic
#030A1C #030A1C #07173F #0D2B76 #133FAD

Accessibility & contrast

On white

17.45
#07173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07173F
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07173F#FFFFFF#000000##FFFFFF
##07173F1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #07173f;
/* rgb */ color: rgb(7, 23, 63);
/* oklch */ color: oklch(22.1% 0.080 264.1);
Tailwind
colors: {
  custom: {
    50: '#515374',
    500: '#07173f',
    950: '#000000',
  },
}
SCSS
$custom: #07173f;
$custom-light: #515374;
$custom-dark: #000000;
JSON
{
  "hex": "#07173f",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 222.857,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22058,
    "c": 0.07969,
    "h": 264.1
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#07173F
secondary
#7E6424
accent
#BE31F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #07173F

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

Preview Lab → · Contrast checker → · Palette generator →

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