#070C3F#070C3F

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

Color values

HEX#070C3F
RGBrgb(7, 12, 63)
HSLhsl(235, 80%, 14%)
HSVhsv(235, 89%, 25%)
CMYKcmyk(88.9%, 81%, 0%, 75.3%)
CIE-LABlab(6.02, 18.71, -32.54)
CIE-LCHlch(6.02, 37.54, 299.90°)
OKLaboklab(19.63% -0.0006 -0.0952)
OKLCHoklch(19.63% 0.095 269.7)
XYZxyz(1.1160, 0.6669, 4.7716)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C3F #3F3A07
analogous
#07283F #070C3F #1E073F
triadic
#070C3F #3F070C #0C3F07
tetradic
#070C3F #3F0728 #3F3A07 #073F1E
square
#070C3F #3F0728 #3F3A07 #073F1E
split-complementary
#070C3F #3F1E07 #283F07
monochromatic
#03051C #03051C #070C3F #0D1676 #1321AD

Accessibility & contrast

On white

18.53
#070C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C3F
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C3F#FFFFFF#000000##FFFFFF
##070C3F1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070c3f;
/* rgb */ color: rgb(7, 12, 63);
/* oklch */ color: oklch(19.6% 0.095 269.7);
Tailwind
colors: {
  custom: {
    50: '#524b75',
    500: '#070c3f',
    950: '#000000',
  },
}
SCSS
$custom: #070c3f;
$custom-light: #524b75;
$custom-dark: #000000;
JSON
{
  "hex": "#070c3f",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 234.643,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19626,
    "c": 0.09519,
    "h": 269.7
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#070C3F
secondary
#7E7624
accent
#E531F6
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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