#071A2F#071A2F

#071A2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.049 H 252.7°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#071A2F
RGBrgb(7, 26, 47)
HSLhsl(212, 74%, 11%)
HSVhsv(212, 85%, 18%)
CMYKcmyk(85.1%, 44.7%, 0%, 81.6%)
CIE-LABlab(8.90, 1.12, -16.30)
CIE-LCHlch(8.90, 16.34, 273.94°)
OKLaboklab(21.47% -0.0145 -0.0464)
OKLCHoklch(21.47% 0.049 252.7)
XYZxyz(0.9699, 0.9891, 2.8286)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A2F #2F1C07
analogous
#072E2F #071A2F #08072F
triadic
#071A2F #2F071A #1A2F07
tetradic
#071A2F #2F072E #2F1C07 #072F08
square
#071A2F #2F072E #2F1C07 #072F08
split-complementary
#071A2F #2F0807 #2E2F07
monochromatic
#040F1B #040F1B #071A2F #0F3764 #17559A

Accessibility & contrast

On white

17.53
#071A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#071A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071A2F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A2F#FFFFFF#000000##FFFFFF
##071A2F1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B30
Deuteranopia (green-blind)
#0B182F
Tritanopia (blue-blind)
#001F22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071a2f;
/* rgb */ color: rgb(7, 26, 47);
/* oklch */ color: oklch(21.5% 0.049 252.7);
Tailwind
colors: {
  custom: {
    50: '#4c5667',
    500: '#071a2f',
    950: '#000000',
  },
}
SCSS
$custom: #071a2f;
$custom-light: #4c5667;
$custom-dark: #000000;
JSON
{
  "hex": "#071a2f",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 211.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21473,
    "c": 0.04858,
    "h": 252.7
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#071A2F
secondary
#6F4B23
accent
#9937F1
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #071A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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