#071F40#071F40

#071F40 is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.2% C 0.070 H 257.2°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#071F40
RGBrgb(7, 31, 64)
HSLhsl(215, 80%, 14%)
HSVhsv(215, 89%, 25%)
CMYKcmyk(89.1%, 51.6%, 0%, 74.9%)
CIE-LABlab(11.93, 5.13, -23.66)
CIE-LCHlch(11.93, 24.21, 282.22°)
OKLaboklab(24.22% -0.0154 -0.0679)
OKLCHoklch(24.22% 0.07 257.2)
XYZxyz(1.5027, 1.3951, 5.0396)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F40 #402807
analogous
#073C40 #071F40 #0C0740
triadic
#071F40 #40071F #1F4007
tetradic
#071F40 #40073C #402807 #07400C
square
#071F40 #40073C #402807 #07400C
split-complementary
#071F40 #400C07 #3C4007
monochromatic
#030D1C #030D1C #071F40 #0D3A77 #1354AE

Accessibility & contrast

On white

16.42
#071F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071F40
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F40#FFFFFF#000000##FFFFFF
##071F401.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2241
Deuteranopia (green-blind)
#031D3F
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071f40;
/* rgb */ color: rgb(7, 31, 64);
/* oklch */ color: oklch(24.2% 0.070 257.2);
Tailwind
colors: {
  custom: {
    50: '#515a75',
    500: '#071f40',
    950: '#000000',
  },
}
SCSS
$custom: #071f40;
$custom-light: #515a75;
$custom-dark: #000000;
JSON
{
  "hex": "#071f40",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 214.737,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24221,
    "c": 0.0696,
    "h": 257.2
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#071F40
secondary
#7F5924
accent
#A431F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071F40

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

Preview Lab → · Contrast checker → · Palette generator →

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