#070F2E#070F2E

#070F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.063 H 268.2°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#070F2E
RGBrgb(7, 15, 46)
HSLhsl(228, 74%, 10%)
HSVhsv(228, 85%, 18%)
CMYKcmyk(84.8%, 67.4%, 0%, 82%)
CIE-LABlab(5.28, 8.04, -21.33)
CIE-LCHlch(5.28, 22.80, 290.66°)
OKLaboklab(18.37% -0.002 -0.0633)
OKLCHoklch(18.37% 0.063 268.2)
XYZxyz(0.7514, 0.5840, 2.6574)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F2E #2E2607
analogous
#07222E #070F2E #12072E
triadic
#070F2E #2E070F #0F2E07
tetradic
#070F2E #2E0722 #2E2607 #072E12
square
#070F2E #2E0722 #2E2607 #072E12
split-complementary
#070F2E #2E1207 #222E07
monochromatic
#04091B #04091B #070F2E #0F2063 #173298

Accessibility & contrast

On white

18.80
#070F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F2E
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F2E#FFFFFF#000000##FFFFFF
##070F2E1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070f2e;
/* rgb */ color: rgb(7, 15, 46);
/* oklch */ color: oklch(18.4% 0.063 268.2);
Tailwind
colors: {
  custom: {
    50: '#4c4d67',
    500: '#070f2e',
    950: '#000000',
  },
}
SCSS
$custom: #070f2e;
$custom-light: #4c4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#070f2e",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 227.692,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18366,
    "c": 0.06337,
    "h": 268.2
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#070F2E
secondary
#6E5E23
accent
#CA38F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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