#070C2E#070C2E

#070C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.068 H 270.8°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#070C2E
RGBrgb(7, 12, 46)
HSLhsl(232, 74%, 10%)
HSVhsv(232, 85%, 18%)
CMYKcmyk(84.8%, 73.9%, 0%, 82%)
CIE-LABlab(4.56, 9.50, -22.46)
CIE-LCHlch(4.56, 24.39, 292.92°)
OKLaboklab(17.63% 0.001 -0.0681)
OKLCHoklch(17.63% 0.068 270.8)
XYZxyz(0.7121, 0.5053, 2.6442)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C2E #2E2907
analogous
#071F2E #070C2E #15072E
triadic
#070C2E #2E070C #0C2E07
tetradic
#070C2E #2E071F #2E2907 #072E15
square
#070C2E #2E071F #2E2907 #072E15
split-complementary
#070C2E #2E1507 #1F2E07
monochromatic
#04071B #04071B #070C2E #0F1A63 #172898

Accessibility & contrast

On white

19.07
#070C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C2E
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C2E#FFFFFF#000000##FFFFFF
##070C2E1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070c2e;
/* rgb */ color: rgb(7, 12, 46);
/* oklch */ color: oklch(17.6% 0.068 270.8);
Tailwind
colors: {
  custom: {
    50: '#4c4c67',
    500: '#070c2e',
    950: '#000000',
  },
}
SCSS
$custom: #070c2e;
$custom-light: #4c4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#070c2e",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 232.308,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17632,
    "c": 0.0681,
    "h": 270.8
  },
  "luminance": 0.00505
}

Semantic roles & 50–950 ramp

primary
#070C2E
secondary
#6E6423
accent
#D938F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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