#070F2F#070F2F

#070F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.065 H 268.3°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#070F2F
RGBrgb(7, 15, 47)
HSLhsl(228, 74%, 11%)
HSVhsv(228, 85%, 18%)
CMYKcmyk(85.1%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.35, 8.55, -21.96)
CIE-LCHlch(5.35, 23.57, 291.27°)
OKLaboklab(18.47% -0.0019 -0.0651)
OKLCHoklch(18.47% 0.065 268.3)
XYZxyz(0.7714, 0.5920, 2.7624)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F2F #2F2707
analogous
#07232F #070F2F #13072F
triadic
#070F2F #2F070F #0F2F07
tetradic
#070F2F #2F0723 #2F2707 #072F13
square
#070F2F #2F0723 #2F2707 #072F13
split-complementary
#070F2F #2F1307 #232F07
monochromatic
#04091B #04091B #070F2F #0F2064 #17319A

Accessibility & contrast

On white

18.78
#070F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F2F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F2F#FFFFFF#000000##FFFFFF
##070F2F1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070f2f;
/* rgb */ color: rgb(7, 15, 47);
/* oklch */ color: oklch(18.5% 0.065 268.3);
Tailwind
colors: {
  custom: {
    50: '#4c4d68',
    500: '#070f2f',
    950: '#000000',
  },
}
SCSS
$custom: #070f2f;
$custom-light: #4c4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#070f2f",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 228,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18467,
    "c": 0.06511,
    "h": 268.3
  },
  "luminance": 0.00592
}

Semantic roles & 50–950 ramp

primary
#070F2F
secondary
#6F6023
accent
#CC37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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