#070C2C#070C2C

#070C2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.065 H 270.9°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#070C2C
RGBrgb(7, 12, 44)
HSLhsl(232, 73%, 10%)
HSVhsv(232, 84%, 17%)
CMYKcmyk(84.1%, 72.7%, 0%, 82.7%)
CIE-LABlab(4.43, 8.52, -21.18)
CIE-LCHlch(4.43, 22.83, 291.91°)
OKLaboklab(17.42% 0.001 -0.0647)
OKLCHoklch(17.42% 0.065 270.9)
XYZxyz(0.6736, 0.4899, 2.4414)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C2C #2C2707
analogous
#071E2C #070C2C #15072C
triadic
#070C2C #2C070C #0C2C07
tetradic
#070C2C #2C071E #2C2707 #072C15
square
#070C2C #2C071E #2C2707 #072C15
split-complementary
#070C2C #2C1507 #1E2C07
monochromatic
#04071A #04071A #070C2C #0F1A61 #182996

Accessibility & contrast

On white

19.13
#070C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C2C
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C2C#FFFFFF#000000##FFFFFF
##070C2C1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070c2c;
/* rgb */ color: rgb(7, 12, 44);
/* oklch */ color: oklch(17.4% 0.065 270.9);
Tailwind
colors: {
  custom: {
    50: '#4b4c65',
    500: '#070c2c',
    950: '#000000',
  },
}
SCSS
$custom: #070c2c;
$custom-light: #4b4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#070c2c",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 231.892,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.17417,
    "c": 0.06467,
    "h": 270.9
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#070C2C
secondary
#6C6223
accent
#D739EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #070C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#070C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva