#070D2C#070D2C

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

Color values

HEX#070D2C
RGBrgb(7, 13, 44)
HSLhsl(230, 73%, 10%)
HSVhsv(230, 84%, 17%)
CMYKcmyk(84.1%, 70.5%, 0%, 82.7%)
CIE-LABlab(4.65, 8.06, -20.83)
CIE-LCHlch(4.65, 22.33, 291.15°)
OKLaboklab(17.66% 0 -0.0631)
OKLCHoklch(17.66% 0.063 270)
XYZxyz(0.6860, 0.5148, 2.4456)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D2C #2C2607
analogous
#07202C #070D2C #13072C
triadic
#070D2C #2C070D #0D2C07
tetradic
#070D2C #2C0720 #2C2607 #072C13
square
#070D2C #2C0720 #2C2607 #072C13
split-complementary
#070D2C #2C1307 #202C07
monochromatic
#04081A #04081A #070D2C #0F1D61 #182C96

Accessibility & contrast

On white

19.04
#070D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070D2C
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D2C#FFFFFF#000000##FFFFFF
##070D2C1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070d2c;
/* rgb */ color: rgb(7, 13, 44);
/* oklch */ color: oklch(17.7% 0.063 270.0);
Tailwind
colors: {
  custom: {
    50: '#4b4c65',
    500: '#070d2c',
    950: '#000000',
  },
}
SCSS
$custom: #070d2c;
$custom-light: #4b4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#070d2c",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 230.27,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.17661,
    "c": 0.06307,
    "h": 270
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#070D2C
secondary
#6C6023
accent
#D239EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #070D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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