#070D3C#070D3C

#070D3C is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.089 H 269.5°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#070D3C
RGBrgb(7, 13, 60)
HSLhsl(233, 79%, 13%)
HSVhsv(233, 88%, 24%)
CMYKcmyk(88.3%, 78.3%, 0%, 76.5%)
CIE-LABlab(5.95, 16.62, -30.50)
CIE-LCHlch(5.95, 34.73, 298.59°)
OKLaboklab(19.46% -0.0008 -0.0893)
OKLCHoklch(19.46% 0.089 269.5)
XYZxyz(1.0469, 0.6591, 4.3461)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D3C #3C3607
analogous
#07273C #070D3C #1B073C
triadic
#070D3C #3C070D #0D3C07
tetradic
#070D3C #3C0727 #3C3607 #073C1B
square
#070D3C #3C0727 #3C3607 #073C1B
split-complementary
#070D3C #3C1B07 #273C07
monochromatic
#03061B #03061B #070D3C #0D1973 #1425AA

Accessibility & contrast

On white

18.55
#070D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070D3C
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D3C#FFFFFF#000000##FFFFFF
##070D3C1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00113B
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070d3c;
/* rgb */ color: rgb(7, 13, 60);
/* oklch */ color: oklch(19.5% 0.089 269.5);
Tailwind
colors: {
  custom: {
    50: '#514c72',
    500: '#070d3c',
    950: '#000000',
  },
}
SCSS
$custom: #070d3c;
$custom-light: #514c72;
$custom-dark: #000000;
JSON
{
  "hex": "#070d3c",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 233.208,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19457,
    "c": 0.08931,
    "h": 269.5
  },
  "luminance": 0.00659
}

Semantic roles & 50–950 ramp

primary
#070D3C
secondary
#7B7123
accent
#DF32F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #070D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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