#070828#070828

#070828 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.064 H 274.8°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#070828
RGBrgb(7, 8, 40)
HSLhsl(238, 70%, 9%)
HSVhsv(238, 83%, 16%)
CMYKcmyk(82.5%, 80%, 0%, 84.3%)
CIE-LABlab(3.36, 8.35, -19.82)
CIE-LCHlch(3.36, 21.51, 292.83°)
OKLaboklab(16.01% 0.0054 -0.0641)
OKLCHoklch(16.01% 0.064 274.8)
XYZxyz(0.5573, 0.3720, 2.0495)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070828 #282707
analogous
#071928 #070828 #170728
triadic
#070828 #280708 #082807
tetradic
#070828 #280719 #282707 #072817
square
#070828 #280719 #282707 #072817
split-complementary
#070828 #281707 #192807
monochromatic
#05051A #05051A #070828 #10125C #191D90

Accessibility & contrast

On white

19.55
#070828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#070828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070828
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070828#FFFFFF#000000##FFFFFF
##0708281.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#000B27
Tritanopia (blue-blind)
#001016
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070828;
/* rgb */ color: rgb(7, 8, 40);
/* oklch */ color: oklch(16.0% 0.064 274.8);
Tailwind
colors: {
  custom: {
    50: '#4a4a62',
    500: '#070828',
    950: '#000000',
  },
}
SCSS
$custom: #070828;
$custom-light: #4a4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#070828",
  "rgb": {
    "r": 7,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 238.182,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16012,
    "c": 0.0643,
    "h": 274.8
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#070828
secondary
#686523
accent
#E83BED
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #070828

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

Preview Lab → · Contrast checker → · Palette generator →

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