#070D3A#070D3A

#070D3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.086 H 269.6°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#070D3A
RGBrgb(7, 13, 58)
HSLhsl(233, 78%, 13%)
HSVhsv(233, 88%, 23%)
CMYKcmyk(87.9%, 77.6%, 0%, 77.3%)
CIE-LABlab(5.77, 15.56, -29.36)
CIE-LCHlch(5.77, 33.23, 297.92°)
OKLaboklab(19.22% -0.0006 -0.0862)
OKLCHoklch(19.22% 0.086 269.6)
XYZxyz(0.9950, 0.6384, 4.0729)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D3A #3A3407
analogous
#07263A #070D3A #1A073A
triadic
#070D3A #3A070D #0D3A07
tetradic
#070D3A #3A0726 #3A3407 #073A1A
square
#070D3A #3A0726 #3A3407 #073A1A
split-complementary
#070D3A #3A1A07 #263A07
monochromatic
#03061B #03061B #070D3A #0E1971 #1425A7

Accessibility & contrast

On white

18.62
#070D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#070D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070D3A
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D3A#FFFFFF#000000##FFFFFF
##070D3A1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070d3a;
/* rgb */ color: rgb(7, 13, 58);
/* oklch */ color: oklch(19.2% 0.086 269.6);
Tailwind
colors: {
  custom: {
    50: '#504c71',
    500: '#070d3a',
    950: '#000000',
  },
}
SCSS
$custom: #070d3a;
$custom-light: #504c71;
$custom-dark: #000000;
JSON
{
  "hex": "#070d3a",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 232.941,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19219,
    "c": 0.0862,
    "h": 269.6
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#070D3A
secondary
#796F23
accent
#DE33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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