#071F39#071F39

#071F39 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.7% C 0.058 H 252.9°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#071F39
RGBrgb(7, 31, 57)
HSLhsl(211, 78%, 13%)
HSVhsv(211, 88%, 22%)
CMYKcmyk(87.7%, 45.6%, 0%, 77.6%)
CIE-LABlab(11.42, 1.88, -19.52)
CIE-LCHlch(11.42, 19.61, 275.50°)
OKLaboklab(23.66% -0.0172 -0.0557)
OKLCHoklch(23.66% 0.058 252.9)
XYZxyz(1.3159, 1.3204, 4.0556)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F39 #392107
analogous
#073839 #071F39 #080739
triadic
#071F39 #39071F #1F3907
tetradic
#071F39 #390738 #392107 #073908
square
#071F39 #390738 #392107 #073908
split-complementary
#071F39 #390807 #383907
monochromatic
#030F1B #030F1B #071F39 #0E3D70 #145AA6

Accessibility & contrast

On white

16.61
#071F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#071F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F39
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F39#FFFFFF#000000##FFFFFF
##071F391.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13213A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #071f39;
/* rgb */ color: rgb(7, 31, 57);
/* oklch */ color: oklch(23.7% 0.058 252.9);
Tailwind
colors: {
  custom: {
    50: '#4f5a6f',
    500: '#071f39',
    950: '#000000',
  },
}
SCSS
$custom: #071f39;
$custom-light: #4f5a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#071f39",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 211.2,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23662,
    "c": 0.0583,
    "h": 252.9
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#071F39
secondary
#795023
accent
#9833F5
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #071F39

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

Preview Lab → · Contrast checker → · Palette generator →

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