#070F2D#070F2D

#070F2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.3% C 0.062 H 268.1°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#070F2D
RGBrgb(7, 15, 45)
HSLhsl(227, 73%, 10%)
HSVhsv(227, 84%, 18%)
CMYKcmyk(84.4%, 66.7%, 0%, 82.4%)
CIE-LABlab(5.20, 7.55, -20.70)
CIE-LCHlch(5.20, 22.03, 290.03°)
OKLaboklab(18.27% -0.0021 -0.0616)
OKLCHoklch(18.27% 0.062 268.1)
XYZxyz(0.7319, 0.5762, 2.5548)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F2D #2D2507
analogous
#07222D #070F2D #12072D
triadic
#070F2D #2D070F #0F2D07
tetradic
#070F2D #2D0722 #2D2507 #072D12
square
#070F2D #2D0722 #2D2507 #072D12
split-complementary
#070F2D #2D1207 #222D07
monochromatic
#04091A #04091A #070F2D #0F2162 #173297

Accessibility & contrast

On white

18.83
#070F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F2D
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F2D#FFFFFF#000000##FFFFFF
##070F2D1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070f2d;
/* rgb */ color: rgb(7, 15, 45);
/* oklch */ color: oklch(18.3% 0.062 268.1);
Tailwind
colors: {
  custom: {
    50: '#4b4d66',
    500: '#070f2d',
    950: '#000000',
  },
}
SCSS
$custom: #070f2d;
$custom-light: #4b4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#070f2d",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 227.368,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18266,
    "c": 0.06163,
    "h": 268.1
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#070F2D
secondary
#6D5D23
accent
#C938F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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