#070F2A#070F2A

#070F2A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.0% C 0.056 H 267.6°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#070F2A
RGBrgb(7, 15, 42)
HSLhsl(226, 71%, 10%)
HSVhsv(226, 83%, 16%)
CMYKcmyk(83.3%, 64.3%, 0%, 83.5%)
CIE-LABlab(5.00, 6.13, -18.76)
CIE-LCHlch(5.00, 19.74, 288.10°)
OKLaboklab(17.97% -0.0024 -0.0562)
OKLCHoklch(17.97% 0.056 267.6)
XYZxyz(0.6762, 0.5539, 2.2613)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F2A #2A2207
analogous
#07212A #070F2A #11072A
triadic
#070F2A #2A070F #0F2A07
tetradic
#070F2A #2A0721 #2A2207 #072A11
square
#070F2A #2A0721 #2A2207 #072A11
split-complementary
#070F2A #2A1107 #212A07
monochromatic
#04091A #04091A #070F2A #10225E #183493

Accessibility & contrast

On white

18.91
#070F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F2A
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F2A#FFFFFF#000000##FFFFFF
##070F2A1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070f2a;
/* rgb */ color: rgb(7, 15, 42);
/* oklch */ color: oklch(18.0% 0.056 267.6);
Tailwind
colors: {
  custom: {
    50: '#4b4d63',
    500: '#070f2a',
    950: '#000000',
  },
}
SCSS
$custom: #070f2a;
$custom-light: #4b4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#070f2a",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 226.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17975,
    "c": 0.0563,
    "h": 267.6
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#070F2A
secondary
#6A5A23
accent
#C53AEE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #070F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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