#07172A#07172A

#07172A is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.2% C 0.044 H 253.8°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#07172A
RGBrgb(7, 23, 42)
HSLhsl(213, 71%, 10%)
HSVhsv(213, 83%, 16%)
CMYKcmyk(83.3%, 45.2%, 0%, 83.5%)
CIE-LABlab(7.45, 1.13, -14.90)
CIE-LCHlch(7.45, 14.95, 274.35°)
OKLaboklab(20.22% -0.0123 -0.0424)
OKLCHoklch(20.22% 0.044 253.8)
XYZxyz(0.8118, 0.8250, 2.3065)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07172A #2A1A07
analogous
#07292A #07172A #08072A
triadic
#07172A #2A0717 #172A07
tetradic
#07172A #2A0729 #2A1A07 #072A08
square
#07172A #2A0729 #2A1A07 #072A08
split-complementary
#07172A #2A0807 #292A07
monochromatic
#040E1A #040E1A #07172A #10345E #185093

Accessibility & contrast

On white

18.03
#07172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07172A
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07172A#FFFFFF#000000##FFFFFF
##07172A1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182B
Deuteranopia (green-blind)
#09152A
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07172a;
/* rgb */ color: rgb(7, 23, 42);
/* oklch */ color: oklch(20.2% 0.044 253.8);
Tailwind
colors: {
  custom: {
    50: '#4b5363',
    500: '#07172a',
    950: '#000000',
  },
}
SCSS
$custom: #07172a;
$custom-light: #4b5363;
$custom-dark: #000000;
JSON
{
  "hex": "#07172a",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 212.571,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20221,
    "c": 0.04416,
    "h": 253.8
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#07172A
secondary
#6A4923
accent
#9C3AEE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #07172A

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

Preview Lab → · Contrast checker → · Palette generator →

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