#070C3A#070C3A

#070C3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.088 H 270.1°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#070C3A
RGBrgb(7, 12, 58)
HSLhsl(234, 78%, 13%)
HSVhsv(234, 88%, 23%)
CMYKcmyk(87.9%, 79.3%, 0%, 77.3%)
CIE-LABlab(5.54, 16.07, -29.72)
CIE-LCHlch(5.54, 33.79, 298.40°)
OKLaboklab(19.01% 0.0001 -0.0876)
OKLCHoklch(19.01% 0.088 270.1)
XYZxyz(0.9826, 0.6135, 4.0688)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C3A #3A3507
analogous
#07253A #070C3A #1C073A
triadic
#070C3A #3A070C #0C3A07
tetradic
#070C3A #3A0725 #3A3507 #073A1C
square
#070C3A #3A0725 #3A3507 #073A1C
split-complementary
#070C3A #3A1C07 #253A07
monochromatic
#03061B #03061B #070C3A #0E1771 #1423A7

Accessibility & contrast

On white

18.70
#070C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C3A
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C3A#FFFFFF#000000##FFFFFF
##070C3A1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070c3a;
/* rgb */ color: rgb(7, 12, 58);
/* oklch */ color: oklch(19.0% 0.088 270.1);
Tailwind
colors: {
  custom: {
    50: '#504b71',
    500: '#070c3a',
    950: '#000000',
  },
}
SCSS
$custom: #070c3a;
$custom-light: #504b71;
$custom-dark: #000000;
JSON
{
  "hex": "#070c3a",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 234.118,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19014,
    "c": 0.08757,
    "h": 270.1
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#070C3A
secondary
#797123
accent
#E233F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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