#070A2A#070A2A

#070A2A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.064 H 272.8°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#070A2A
RGBrgb(7, 10, 42)
HSLhsl(235, 71%, 10%)
HSVhsv(235, 83%, 16%)
CMYKcmyk(83.3%, 76.2%, 0%, 83.5%)
CIE-LABlab(3.88, 8.43, -20.53)
CIE-LCHlch(3.88, 22.20, 292.32°)
OKLaboklab(16.73% 0.0031 -0.0643)
OKLCHoklch(16.73% 0.064 272.8)
XYZxyz(0.6139, 0.4294, 2.2406)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A2A #2A2707
analogous
#071C2A #070A2A #16072A
triadic
#070A2A #2A070A #0A2A07
tetradic
#070A2A #2A071C #2A2707 #072A16
square
#070A2A #2A071C #2A2707 #072A16
split-complementary
#070A2A #2A1607 #1C2A07
monochromatic
#04061A #04061A #070A2A #10165E #182393

Accessibility & contrast

On white

19.34
#070A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#070A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A2A
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A2A#FFFFFF#000000##FFFFFF
##070A2A1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #070a2a;
/* rgb */ color: rgb(7, 10, 42);
/* oklch */ color: oklch(16.7% 0.064 272.8);
Tailwind
colors: {
  custom: {
    50: '#4b4b63',
    500: '#070a2a',
    950: '#000000',
  },
}
SCSS
$custom: #070a2a;
$custom-light: #4b4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#070a2a",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 234.857,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16725,
    "c": 0.06437,
    "h": 272.8
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#070A2A
secondary
#6A6423
accent
#DF3AEE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #070A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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