#070C36#070C36

#070C36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.081 H 270.4°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#070C36
RGBrgb(7, 12, 54)
HSLhsl(234, 77%, 12%)
HSVhsv(234, 87%, 21%)
CMYKcmyk(87%, 77.8%, 0%, 78.8%)
CIE-LABlab(5.19, 13.85, -27.38)
CIE-LCHlch(5.19, 30.68, 296.83°)
OKLaboklab(18.54% 0.0005 -0.0813)
OKLCHoklch(18.54% 0.081 270.4)
XYZxyz(0.8847, 0.5744, 3.5535)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C36 #363107
analogous
#072436 #070C36 #1A0736
triadic
#070C36 #36070C #0C3607
tetradic
#070C36 #360724 #363107 #07361A
square
#070C36 #360724 #363107 #07361A
split-complementary
#070C36 #361A07 #243607
monochromatic
#04061B #04061B #070C36 #0E186C #1524A2

Accessibility & contrast

On white

18.84
#070C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C36
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C36#FFFFFF#000000##FFFFFF
##070C361.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070c36;
/* rgb */ color: rgb(7, 12, 54);
/* oklch */ color: oklch(18.5% 0.081 270.4);
Tailwind
colors: {
  custom: {
    50: '#4e4b6d',
    500: '#070c36',
    950: '#000000',
  },
}
SCSS
$custom: #070c36;
$custom-light: #4e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#070c36",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 233.617,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18538,
    "c": 0.08127,
    "h": 270.4
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#070C36
secondary
#766D23
accent
#DF34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070C36

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

Preview Lab → · Contrast checker → · Palette generator →

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