#071F3D#071F3D

#071F3D is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.0% C 0.065 H 255.6°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#071F3D
RGBrgb(7, 31, 61)
HSLhsl(213, 79%, 13%)
HSVhsv(213, 89%, 24%)
CMYKcmyk(88.5%, 49.2%, 0%, 76.1%)
CIE-LABlab(11.70, 3.73, -21.91)
CIE-LCHlch(11.70, 22.22, 279.66°)
OKLaboklab(23.98% -0.0161 -0.0627)
OKLCHoklch(23.98% 0.065 255.6)
XYZxyz(1.4196, 1.3619, 4.6020)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F3D #3D2507
analogous
#073A3D #071F3D #0A073D
triadic
#071F3D #3D071F #1F3D07
tetradic
#071F3D #3D073A #3D2507 #073D0A
square
#071F3D #3D073A #3D2507 #073D0A
split-complementary
#071F3D #3D0A07 #3A3D07
monochromatic
#030E1B #030E1B #071F3D #0D3B74 #1457AB

Accessibility & contrast

On white

16.50
#071F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071F3D
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F3D#FFFFFF#000000##FFFFFF
##071F3D1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223E
Deuteranopia (green-blind)
#061D3C
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071f3d;
/* rgb */ color: rgb(7, 31, 61);
/* oklch */ color: oklch(24.0% 0.065 255.6);
Tailwind
colors: {
  custom: {
    50: '#505a73',
    500: '#071f3d',
    950: '#000000',
  },
}
SCSS
$custom: #071f3d;
$custom-light: #505a73;
$custom-dark: #000000;
JSON
{
  "hex": "#071f3d",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 213.333,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23976,
    "c": 0.06475,
    "h": 255.6
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#071F3D
secondary
#7C5523
accent
#9F32F6
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #071F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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