#07172E#07172E

#07172E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.5% C 0.051 H 257.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#07172E
RGBrgb(7, 23, 46)
HSLhsl(215, 74%, 10%)
HSVhsv(215, 85%, 18%)
CMYKcmyk(84.8%, 50%, 0%, 82%)
CIE-LABlab(7.72, 3.01, -17.44)
CIE-LCHlch(7.72, 17.69, 279.79°)
OKLaboklab(20.53% -0.0111 -0.0498)
OKLCHoklch(20.53% 0.051 257.4)
XYZxyz(0.8870, 0.8551, 2.7025)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07172E #2E1E07
analogous
#072A2E #07172E #0B072E
triadic
#07172E #2E0717 #172E07
tetradic
#07172E #2E072A #2E1E07 #072E0B
square
#07172E #2E072A #2E1E07 #072E0B
split-complementary
#07172E #2E0B07 #2A2E07
monochromatic
#040D1B #040D1B #07172E #0F3263 #174C98

Accessibility & contrast

On white

17.93
#07172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#07172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07172E
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07172E#FFFFFF#000000##FFFFFF
##07172E1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #07172e;
/* rgb */ color: rgb(7, 23, 46);
/* oklch */ color: oklch(20.5% 0.051 257.4);
Tailwind
colors: {
  custom: {
    50: '#4c5367',
    500: '#07172e',
    950: '#000000',
  },
}
SCSS
$custom: #07172e;
$custom-light: #4c5367;
$custom-dark: #000000;
JSON
{
  "hex": "#07172e",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 215.385,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20531,
    "c": 0.05101,
    "h": 257.4
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#07172E
secondary
#6E4F23
accent
#A438F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07172E

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

Preview Lab → · Contrast checker → · Palette generator →

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