#070F2C#070F2C

#070F2C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.060 H 267.9°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#070F2C
RGBrgb(7, 15, 44)
HSLhsl(227, 73%, 10%)
HSVhsv(227, 84%, 17%)
CMYKcmyk(84.1%, 65.9%, 0%, 82.7%)
CIE-LABlab(5.14, 7.06, -20.06)
CIE-LCHlch(5.14, 21.26, 289.40°)
OKLaboklab(18.17% -0.0022 -0.0598)
OKLCHoklch(18.17% 0.06 267.9)
XYZxyz(0.7129, 0.5686, 2.4546)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F2C #2C2407
analogous
#07222C #070F2C #11072C
triadic
#070F2C #2C070F #0F2C07
tetradic
#070F2C #2C0722 #2C2407 #072C11
square
#070F2C #2C0722 #2C2407 #072C11
split-complementary
#070F2C #2C1107 #222C07
monochromatic
#04091A #04091A #070F2C #0F2161 #183396

Accessibility & contrast

On white

18.85
#070F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F2C
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F2C#FFFFFF#000000##FFFFFF
##070F2C1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070f2c;
/* rgb */ color: rgb(7, 15, 44);
/* oklch */ color: oklch(18.2% 0.060 267.9);
Tailwind
colors: {
  custom: {
    50: '#4b4d65',
    500: '#070f2c',
    950: '#000000',
  },
}
SCSS
$custom: #070f2c;
$custom-light: #4b4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#070f2c",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 227.027,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.18168,
    "c": 0.05986,
    "h": 267.9
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#070F2C
secondary
#6C5C23
accent
#C839EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #070F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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