#070D2E#070D2E

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

Color values

HEX#070D2E
RGBrgb(7, 13, 46)
HSLhsl(231, 74%, 10%)
HSVhsv(231, 85%, 18%)
CMYKcmyk(84.8%, 71.7%, 0%, 82%)
CIE-LABlab(4.79, 9.04, -22.10)
CIE-LCHlch(4.79, 23.88, 292.23°)
OKLaboklab(17.87% 0 -0.0665)
OKLCHoklch(17.87% 0.067 270)
XYZxyz(0.7245, 0.5302, 2.6484)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D2E #2E2807
analogous
#07202E #070D2E #14072E
triadic
#070D2E #2E070D #0D2E07
tetradic
#070D2E #2E0720 #2E2807 #072E14
square
#070D2E #2E0720 #2E2807 #072E14
split-complementary
#070D2E #2E1407 #202E07
monochromatic
#04081B #04081B #070D2E #0F1C63 #172B98

Accessibility & contrast

On white

18.99
#070D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070D2E
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D2E#FFFFFF#000000##FFFFFF
##070D2E1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070d2e;
/* rgb */ color: rgb(7, 13, 46);
/* oklch */ color: oklch(17.9% 0.067 270.0);
Tailwind
colors: {
  custom: {
    50: '#4c4c67',
    500: '#070d2e',
    950: '#000000',
  },
}
SCSS
$custom: #070d2e;
$custom-light: #4c4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#070d2e",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 230.769,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17871,
    "c": 0.06653,
    "h": 270
  },
  "luminance": 0.0053
}

Semantic roles & 50–950 ramp

primary
#070D2E
secondary
#6E6223
accent
#D438F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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