#071F2F#071F2F

#071F2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.043 H 241.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#071F2F
RGBrgb(7, 31, 47)
HSLhsl(204, 74%, 11%)
HSVhsv(204, 85%, 18%)
CMYKcmyk(85.1%, 34%, 0%, 81.6%)
CIE-LABlab(10.78, -2.66, -13.34)
CIE-LCHlch(10.78, 13.60, 258.74°)
OKLaboklab(22.95% -0.0207 -0.0377)
OKLCHoklch(22.95% 0.043 241.2)
XYZxyz(1.0905, 1.2303, 2.8688)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F2F #2F1707
analogous
#072F2B #071F2F #070B2F
triadic
#071F2F #2F071F #1F2F07
tetradic
#071F2F #2B072F #2F1707 #0B2F07
square
#071F2F #2B072F #2F1707 #0B2F07
split-complementary
#071F2F #2F070B #2F2B07
monochromatic
#04121B #04121B #071F2F #0F4264 #17659A

Accessibility & contrast

On white

16.85
#071F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#071F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F2F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F2F#FFFFFF#000000##FFFFFF
##071F2F1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F30
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071f2f;
/* rgb */ color: rgb(7, 31, 47);
/* oklch */ color: oklch(23.0% 0.043 241.2);
Tailwind
colors: {
  custom: {
    50: '#4c5a67',
    500: '#071f2f',
    950: '#000000',
  },
}
SCSS
$custom: #071f2f;
$custom-light: #4c5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#071f2f",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 204,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.04299,
    "h": 241.2
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#071F2F
secondary
#6F4123
accent
#8137F1
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #071F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#071F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva