#070A2C#070A2C

#070A2C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.068 H 272.5°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#070A2C
RGBrgb(7, 10, 44)
HSLhsl(235, 73%, 10%)
HSVhsv(235, 84%, 17%)
CMYKcmyk(84.1%, 77.3%, 0%, 82.7%)
CIE-LABlab(4.01, 9.36, -21.84)
CIE-LCHlch(4.01, 23.76, 293.21°)
OKLaboklab(16.95% 0.003 -0.0677)
OKLCHoklch(16.95% 0.068 272.5)
XYZxyz(0.6506, 0.4440, 2.4338)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A2C #2C2907
analogous
#071D2C #070A2C #16072C
triadic
#070A2C #2C070A #0A2C07
tetradic
#070A2C #2C071D #2C2907 #072C16
square
#070A2C #2C071D #2C2907 #072C16
split-complementary
#070A2C #2C1607 #1D2C07
monochromatic
#04061A #04061A #070A2C #0F1661 #182296

Accessibility & contrast

On white

19.29
#070A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070A2C
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A2C#FFFFFF#000000##FFFFFF
##070A2C1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #070a2c;
/* rgb */ color: rgb(7, 10, 44);
/* oklch */ color: oklch(16.9% 0.068 272.5);
Tailwind
colors: {
  custom: {
    50: '#4b4b65',
    500: '#070a2c',
    950: '#000000',
  },
}
SCSS
$custom: #070a2c;
$custom-light: #4b4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#070a2c",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 235.135,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.16947,
    "c": 0.06779,
    "h": 272.5
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#070A2C
secondary
#6C6623
accent
#E039EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #070A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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