#071F2C#071F2C

#071F2C is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.039 H 235.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#071F2C
RGBrgb(7, 31, 44)
HSLhsl(201, 73%, 10%)
HSVhsv(201, 84%, 17%)
CMYKcmyk(84.1%, 29.5%, 0%, 82.7%)
CIE-LABlab(10.61, -3.97, -11.43)
CIE-LCHlch(10.61, 12.10, 250.84°)
OKLaboklab(22.76% -0.022 -0.0321)
OKLCHoklch(22.76% 0.039 235.6)
XYZxyz(1.0321, 1.2069, 2.5609)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F2C #2C1407
analogous
#072C26 #071F2C #070D2C
triadic
#071F2C #2C071F #1F2C07
tetradic
#071F2C #26072C #2C1407 #0D2C07
square
#071F2C #26072C #2C1407 #0D2C07
split-complementary
#071F2C #2C070D #2C2607
monochromatic
#04131A #04131A #071F2C #0F4461 #186996

Accessibility & contrast

On white

16.92
#071F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071F2C
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F2C#FFFFFF#000000##FFFFFF
##071F2C1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2D
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#002223
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071f2c;
/* rgb */ color: rgb(7, 31, 44);
/* oklch */ color: oklch(22.8% 0.039 235.6);
Tailwind
colors: {
  custom: {
    50: '#4c5a65',
    500: '#071f2c',
    950: '#000000',
  },
}
SCSS
$custom: #071f2c;
$custom-light: #4c5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#071f2c",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 201.081,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.2276,
    "c": 0.03894,
    "h": 235.6
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#071F2C
secondary
#6C3D23
accent
#7939EF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #071F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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