#071F2E#071F2E

#071F2E is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.9% C 0.042 H 239.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#071F2E
RGBrgb(7, 31, 46)
HSLhsl(203, 74%, 10%)
HSVhsv(203, 85%, 18%)
CMYKcmyk(84.8%, 32.6%, 0%, 82%)
CIE-LABlab(10.72, -3.09, -12.71)
CIE-LCHlch(10.72, 13.08, 256.31°)
OKLaboklab(22.89% -0.0211 -0.0358)
OKLCHoklch(22.89% 0.042 239.5)
XYZxyz(1.0706, 1.2223, 2.7637)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F2E #2E1607
analogous
#072E29 #071F2E #070B2E
triadic
#071F2E #2E071F #1F2E07
tetradic
#071F2E #29072E #2E1607 #0B2E07
square
#071F2E #29072E #2E1607 #0B2E07
split-complementary
#071F2E #2E070B #2E2907
monochromatic
#04121B #04121B #071F2E #0F4363 #176798

Accessibility & contrast

On white

16.88
#071F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#071F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F2E
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F2E#FFFFFF#000000##FFFFFF
##071F2E1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#002324
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071f2e;
/* rgb */ color: rgb(7, 31, 46);
/* oklch */ color: oklch(22.9% 0.042 239.5);
Tailwind
colors: {
  custom: {
    50: '#4c5a66',
    500: '#071f2e',
    950: '#000000',
  },
}
SCSS
$custom: #071f2e;
$custom-light: #4c5a66;
$custom-dark: #000000;
JSON
{
  "hex": "#071f2e",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 203.077,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22886,
    "c": 0.0416,
    "h": 239.5
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#071F2E
secondary
#6E4023
accent
#7F38F0
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #071F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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