#07172F#07172F

#07172F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.6% C 0.053 H 258.1°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#07172F
RGBrgb(7, 23, 47)
HSLhsl(216, 74%, 11%)
HSVhsv(216, 85%, 18%)
CMYKcmyk(85.1%, 51.1%, 0%, 81.6%)
CIE-LABlab(7.80, 3.48, -18.06)
CIE-LCHlch(7.80, 18.39, 280.91°)
OKLaboklab(20.61% -0.0108 -0.0516)
OKLCHoklch(20.61% 0.053 258.1)
XYZxyz(0.9069, 0.8631, 2.8076)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07172F #2F1F07
analogous
#072B2F #07172F #0B072F
triadic
#07172F #2F0717 #172F07
tetradic
#07172F #2F072B #2F1F07 #072F0B
square
#07172F #2F072B #2F1F07 #072F0B
split-complementary
#07172F #2F0B07 #2B2F07
monochromatic
#040D1B #040D1B #07172F #0F3164 #174B9A

Accessibility & contrast

On white

17.91
#07172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07172F
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07172F#FFFFFF#000000##FFFFFF
##07172F1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1930
Deuteranopia (green-blind)
#06152F
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #07172f;
/* rgb */ color: rgb(7, 23, 47);
/* oklch */ color: oklch(20.6% 0.053 258.1);
Tailwind
colors: {
  custom: {
    50: '#4c5367',
    500: '#07172f',
    950: '#000000',
  },
}
SCSS
$custom: #07172f;
$custom-light: #4c5367;
$custom-dark: #000000;
JSON
{
  "hex": "#07172f",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 216,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20612,
    "c": 0.05272,
    "h": 258.1
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#07172F
secondary
#6F5023
accent
#A637F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07172F

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

Preview Lab → · Contrast checker → · Palette generator →

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