#071F3E#071F3E

#071F3E is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.1% C 0.066 H 256.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#071F3E
RGBrgb(7, 31, 62)
HSLhsl(214, 80%, 14%)
HSVhsv(214, 89%, 24%)
CMYKcmyk(88.7%, 50%, 0%, 75.7%)
CIE-LABlab(11.78, 4.19, -22.49)
CIE-LCHlch(11.78, 22.88, 280.56°)
OKLaboklab(24.06% -0.0158 -0.0644)
OKLCHoklch(24.06% 0.066 256.2)
XYZxyz(1.4468, 1.3728, 4.7452)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F3E #3E2607
analogous
#073A3E #071F3E #0A073E
triadic
#071F3E #3E071F #1F3E07
tetradic
#071F3E #3E073A #3E2607 #073E0A
square
#071F3E #3E073A #3E2607 #073E0A
split-complementary
#071F3E #3E0A07 #3A3E07
monochromatic
#030E1B #030E1B #071F3E #0D3A75 #1356AC

Accessibility & contrast

On white

16.48
#071F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#071F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F3E
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F3E#FFFFFF#000000##FFFFFF
##071F3E1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#051D3D
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071f3e;
/* rgb */ color: rgb(7, 31, 62);
/* oklch */ color: oklch(24.1% 0.066 256.2);
Tailwind
colors: {
  custom: {
    50: '#505a73',
    500: '#071f3e',
    950: '#000000',
  },
}
SCSS
$custom: #071f3e;
$custom-light: #505a73;
$custom-dark: #000000;
JSON
{
  "hex": "#071f3e",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 213.818,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24056,
    "c": 0.06636,
    "h": 256.2
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#071F3E
secondary
#7D5624
accent
#A032F6
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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