#071828#071828

#071828 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.4% C 0.040 H 248.7°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#071828
RGBrgb(7, 24, 40)
HSLhsl(209, 70%, 9%)
HSVhsv(209, 83%, 16%)
CMYKcmyk(82.5%, 40%, 0%, 84.3%)
CIE-LABlab(7.69, -0.50, -13.04)
CIE-LCHlch(7.69, 13.05, 267.78°)
OKLaboklab(20.37% -0.0144 -0.0369)
OKLCHoklch(20.37% 0.04 248.7)
XYZxyz(0.7971, 0.8516, 2.1294)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071828 #281707
analogous
#072828 #071828 #070828
triadic
#071828 #280718 #182807
tetradic
#071828 #280728 #281707 #082807
square
#071828 #280728 #281707 #082807
split-complementary
#071828 #280708 #282807
monochromatic
#05101A #05101A #071828 #10375C #195790

Accessibility & contrast

On white

17.94
#071828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071828
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071828#FFFFFF#000000##FFFFFF
##0718281.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111929
Deuteranopia (green-blind)
#0C1528
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071828;
/* rgb */ color: rgb(7, 24, 40);
/* oklch */ color: oklch(20.4% 0.040 248.7);
Tailwind
colors: {
  custom: {
    50: '#4b5462',
    500: '#071828',
    950: '#000000',
  },
}
SCSS
$custom: #071828;
$custom-light: #4b5462;
$custom-dark: #000000;
JSON
{
  "hex": "#071828",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 209.091,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20372,
    "c": 0.03959,
    "h": 248.7
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#071828
secondary
#684423
accent
#913BED
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #071828

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

Preview Lab → · Contrast checker → · Palette generator →

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