#070F2B#070F2B

#070F2B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.058 H 267.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#070F2B
RGBrgb(7, 15, 43)
HSLhsl(227, 72%, 10%)
HSVhsv(227, 84%, 17%)
CMYKcmyk(83.7%, 65.1%, 0%, 83.1%)
CIE-LABlab(5.07, 6.59, -19.41)
CIE-LCHlch(5.07, 20.50, 288.75°)
OKLaboklab(18.07% -0.0023 -0.058)
OKLCHoklch(18.07% 0.058 267.7)
XYZxyz(0.6943, 0.5612, 2.3568)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F2B #2B2307
analogous
#07212B #070F2B #11072B
triadic
#070F2B #2B070F #0F2B07
tetradic
#070F2B #2B0721 #2B2307 #072B11
square
#070F2B #2B0721 #2B2307 #072B11
split-complementary
#070F2B #2B1107 #212B07
monochromatic
#04091A #04091A #070F2B #102160 #183494

Accessibility & contrast

On white

18.88
#070F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F2B
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F2B#FFFFFF#000000##FFFFFF
##070F2B1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070f2b;
/* rgb */ color: rgb(7, 15, 43);
/* oklch */ color: oklch(18.1% 0.058 267.7);
Tailwind
colors: {
  custom: {
    50: '#4b4d64',
    500: '#070f2b',
    950: '#000000',
  },
}
SCSS
$custom: #070f2b;
$custom-light: #4b4d64;
$custom-dark: #000000;
JSON
{
  "hex": "#070f2b",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 226.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18071,
    "c": 0.05809,
    "h": 267.7
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#070F2B
secondary
#6B5B23
accent
#C639EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #070F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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