#071F3C#071F3C

#071F3C is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 23.9% C 0.063 H 255.0°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#071F3C
RGBrgb(7, 31, 60)
HSLhsl(213, 79%, 13%)
HSVhsv(213, 88%, 24%)
CMYKcmyk(88.3%, 48.3%, 0%, 76.5%)
CIE-LABlab(11.63, 3.27, -21.31)
CIE-LCHlch(11.63, 21.56, 278.71°)
OKLaboklab(23.9% -0.0163 -0.061)
OKLCHoklch(23.9% 0.063 255)
XYZxyz(1.3929, 1.3512, 4.4615)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F3C #3C2407
analogous
#07393C #071F3C #09073C
triadic
#071F3C #3C071F #1F3C07
tetradic
#071F3C #3C0739 #3C2407 #073C09
square
#071F3C #3C0739 #3C2407 #073C09
split-complementary
#071F3C #3C0907 #393C07
monochromatic
#030E1B #030E1B #071F3C #0D3B73 #1458AA

Accessibility & contrast

On white

16.53
#071F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071F3C
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F3C#FFFFFF#000000##FFFFFF
##071F3C1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213D
Deuteranopia (green-blind)
#071D3B
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071f3c;
/* rgb */ color: rgb(7, 31, 60);
/* oklch */ color: oklch(23.9% 0.063 255.0);
Tailwind
colors: {
  custom: {
    50: '#505a72',
    500: '#071f3c',
    950: '#000000',
  },
}
SCSS
$custom: #071f3c;
$custom-light: #505a72;
$custom-dark: #000000;
JSON
{
  "hex": "#071f3c",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 212.83,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23896,
    "c": 0.06313,
    "h": 255
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#071F3C
secondary
#7B5423
accent
#9D32F6
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #071F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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