#071827#071827

#071827 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.3% C 0.038 H 247.1°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#071827
RGBrgb(7, 24, 39)
HSLhsl(208, 70%, 9%)
HSVhsv(208, 82%, 15%)
CMYKcmyk(82.1%, 38.5%, 0%, 84.7%)
CIE-LABlab(7.63, -0.93, -12.38)
CIE-LCHlch(7.63, 12.42, 265.71°)
OKLaboklab(20.3% -0.0148 -0.035)
OKLCHoklch(20.3% 0.038 247.1)
XYZxyz(0.7803, 0.8448, 2.0410)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071827 #271607
analogous
#072726 #071827 #070827
triadic
#071827 #270718 #182707
tetradic
#071827 #260727 #271607 #082707
square
#071827 #260727 #271607 #082707
split-complementary
#071827 #270708 #272607
monochromatic
#05101A #05101A #071827 #10385B #1A588F

Accessibility & contrast

On white

17.96
#071827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071827
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071827#FFFFFF#000000##FFFFFF
##0718271.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111928
Deuteranopia (green-blind)
#0D1527
Tritanopia (blue-blind)
#001C1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071827;
/* rgb */ color: rgb(7, 24, 39);
/* oklch */ color: oklch(20.3% 0.038 247.1);
Tailwind
colors: {
  custom: {
    50: '#4a5461',
    500: '#071827',
    950: '#000000',
  },
}
SCSS
$custom: #071827;
$custom-light: #4a5461;
$custom-dark: #000000;
JSON
{
  "hex": "#071827",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 208.125,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20303,
    "c": 0.03799,
    "h": 247.1
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#071827
secondary
#664323
accent
#8E3BEC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #071827

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

Preview Lab → · Contrast checker → · Palette generator →

#071827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva