#070D2F#070D2F

#070D2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.068 H 270.0°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#070D2F
RGBrgb(7, 13, 47)
HSLhsl(231, 74%, 11%)
HSVhsv(231, 85%, 18%)
CMYKcmyk(85.1%, 72.3%, 0%, 81.6%)
CIE-LABlab(4.86, 9.54, -22.74)
CIE-LCHlch(4.86, 24.66, 292.77°)
OKLaboklab(17.98% 0 -0.0682)
OKLCHoklch(17.98% 0.068 270)
XYZxyz(0.7445, 0.5382, 2.7534)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D2F #2F2907
analogous
#07212F #070D2F #15072F
triadic
#070D2F #2F070D #0D2F07
tetradic
#070D2F #2F0721 #2F2907 #072F15
square
#070D2F #2F0721 #2F2907 #072F15
split-complementary
#070D2F #2F1507 #212F07
monochromatic
#04071B #04071B #070D2F #0F1C64 #172A9A

Accessibility & contrast

On white

18.96
#070D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070D2F
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D2F#FFFFFF#000000##FFFFFF
##070D2F1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070d2f;
/* rgb */ color: rgb(7, 13, 47);
/* oklch */ color: oklch(18.0% 0.068 270.0);
Tailwind
colors: {
  custom: {
    50: '#4c4c68',
    500: '#070d2f',
    950: '#000000',
  },
}
SCSS
$custom: #070d2f;
$custom-light: #4c4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#070d2f",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 231,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17978,
    "c": 0.06824,
    "h": 270
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#070D2F
secondary
#6F6323
accent
#D537F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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