#071F38#071F38

#071F38 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.057 H 252.0°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#071F38
RGBrgb(7, 31, 56)
HSLhsl(211, 78%, 12%)
HSVhsv(211, 88%, 22%)
CMYKcmyk(87.5%, 44.6%, 0%, 78%)
CIE-LABlab(11.35, 1.42, -18.92)
CIE-LCHlch(11.35, 18.97, 274.30°)
OKLaboklab(23.59% -0.0175 -0.0539)
OKLCHoklch(23.59% 0.057 252)
XYZxyz(1.2912, 1.3105, 3.9255)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F38 #382007
analogous
#073838 #071F38 #070738
triadic
#071F38 #38071F #1F3807
tetradic
#071F38 #380738 #382007 #073807
square
#071F38 #380738 #382007 #073807
split-complementary
#071F38 #380707 #383807
monochromatic
#030F1B #030F1B #071F38 #0E3D6E #155BA5

Accessibility & contrast

On white

16.64
#071F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#071F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F38
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F38#FFFFFF#000000##FFFFFF
##071F381.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#0C1C38
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #071f38;
/* rgb */ color: rgb(7, 31, 56);
/* oklch */ color: oklch(23.6% 0.057 252.0);
Tailwind
colors: {
  custom: {
    50: '#4f5a6f',
    500: '#071f38',
    950: '#000000',
  },
}
SCSS
$custom: #071f38;
$custom-light: #4f5a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#071f38",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 210.612,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23586,
    "c": 0.0567,
    "h": 252
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#071F38
secondary
#784E23
accent
#9634F4
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #071F38

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

Preview Lab → · Contrast checker → · Palette generator →

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