#070D2D#070D2D

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

Color values

HEX#070D2D
RGBrgb(7, 13, 45)
HSLhsl(231, 73%, 10%)
HSVhsv(231, 84%, 18%)
CMYKcmyk(84.4%, 71.1%, 0%, 82.4%)
CIE-LABlab(4.72, 8.54, -21.47)
CIE-LCHlch(4.72, 23.10, 291.69°)
OKLaboklab(17.77% 0 -0.0648)
OKLCHoklch(17.77% 0.065 270)
XYZxyz(0.7050, 0.5224, 2.5458)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D2D #2D2707
analogous
#07202D #070D2D #14072D
triadic
#070D2D #2D070D #0D2D07
tetradic
#070D2D #2D0720 #2D2707 #072D14
square
#070D2D #2D0720 #2D2707 #072D14
split-complementary
#070D2D #2D1407 #202D07
monochromatic
#04081A #04081A #070D2D #0F1C62 #172C97

Accessibility & contrast

On white

19.01
#070D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070D2D
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D2D#FFFFFF#000000##FFFFFF
##070D2D1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070d2d;
/* rgb */ color: rgb(7, 13, 45);
/* oklch */ color: oklch(17.8% 0.065 270.0);
Tailwind
colors: {
  custom: {
    50: '#4b4c66',
    500: '#070d2d',
    950: '#000000',
  },
}
SCSS
$custom: #070d2d;
$custom-light: #4b4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#070d2d",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 230.526,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17766,
    "c": 0.06481,
    "h": 270
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#070D2D
secondary
#6D6123
accent
#D338F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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