#070C3E#070C3E

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

Color values

HEX#070C3E
RGBrgb(7, 12, 62)
HSLhsl(235, 80%, 14%)
HSVhsv(235, 89%, 24%)
CMYKcmyk(88.7%, 80.6%, 0%, 75.7%)
CIE-LABlab(5.92, 18.20, -31.99)
CIE-LCHlch(5.92, 36.80, 299.63°)
OKLaboklab(19.5% -0.0004 -0.0937)
OKLCHoklch(19.5% 0.094 269.7)
XYZxyz(1.0883, 0.6558, 4.6257)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C3E #3E3907
analogous
#07273E #070C3E #1D073E
triadic
#070C3E #3E070C #0C3E07
tetradic
#070C3E #3E0727 #3E3907 #073E1D
square
#070C3E #3E0727 #3E3907 #073E1D
split-complementary
#070C3E #3E1D07 #273E07
monochromatic
#03051B #03051B #070C3E #0D1775 #1321AC

Accessibility & contrast

On white

18.56
#070C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C3E
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C3E#FFFFFF#000000##FFFFFF
##070C3E1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00103D
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070c3e;
/* rgb */ color: rgb(7, 12, 62);
/* oklch */ color: oklch(19.5% 0.094 269.7);
Tailwind
colors: {
  custom: {
    50: '#524b74',
    500: '#070c3e',
    950: '#000000',
  },
}
SCSS
$custom: #070c3e;
$custom-light: #524b74;
$custom-dark: #000000;
JSON
{
  "hex": "#070c3e",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 234.545,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19502,
    "c": 0.09369,
    "h": 269.7
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#070C3E
secondary
#7D7524
accent
#E432F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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