#071F3F#071F3F

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

Color values

HEX#071F3F
RGBrgb(7, 31, 63)
HSLhsl(214, 80%, 14%)
HSVhsv(214, 89%, 25%)
CMYKcmyk(88.9%, 50.8%, 0%, 75.3%)
CIE-LABlab(11.85, 4.66, -23.08)
CIE-LCHlch(11.85, 23.54, 281.41°)
OKLaboklab(24.14% -0.0156 -0.0662)
OKLCHoklch(24.14% 0.068 256.7)
XYZxyz(1.4745, 1.3839, 4.8911)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F3F #3F2707
analogous
#073B3F #071F3F #0B073F
triadic
#071F3F #3F071F #1F3F07
tetradic
#071F3F #3F073B #3F2707 #073F0B
square
#071F3F #3F073B #3F2707 #073F0B
split-complementary
#071F3F #3F0B07 #3B3F07
monochromatic
#030E1C #030E1C #071F3F #0D3A76 #1355AD

Accessibility & contrast

On white

16.45
#071F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#071F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F3F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F3F#FFFFFF#000000##FFFFFF
##071F3F1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2240
Deuteranopia (green-blind)
#041D3E
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071f3f;
/* rgb */ color: rgb(7, 31, 63);
/* oklch */ color: oklch(24.1% 0.068 256.7);
Tailwind
colors: {
  custom: {
    50: '#515a74',
    500: '#071f3f',
    950: '#000000',
  },
}
SCSS
$custom: #071f3f;
$custom-light: #515a74;
$custom-dark: #000000;
JSON
{
  "hex": "#071f3f",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 214.286,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24138,
    "c": 0.06798,
    "h": 256.7
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#071F3F
secondary
#7E5724
accent
#A231F6
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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