#070C35#070C35

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

Color values

HEX#070C35
RGBrgb(7, 12, 53)
HSLhsl(233, 77%, 12%)
HSVhsv(233, 87%, 21%)
CMYKcmyk(86.8%, 77.4%, 0%, 79.2%)
CIE-LABlab(5.10, 13.28, -26.78)
CIE-LCHlch(5.10, 29.90, 296.38°)
OKLaboklab(18.42% 0.0006 -0.0797)
OKLCHoklch(18.42% 0.08 270.4)
XYZxyz(0.8615, 0.5651, 3.4311)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C35 #353007
analogous
#072335 #070C35 #190735
triadic
#070C35 #35070C #0C3507
tetradic
#070C35 #350723 #353007 #073519
square
#070C35 #350723 #353007 #073519
split-complementary
#070C35 #351907 #233507
monochromatic
#04061B #04061B #070C35 #0E186B #1524A1

Accessibility & contrast

On white

18.87
#070C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C35
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C35#FFFFFF#000000##FFFFFF
##070C351.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070c35;
/* rgb */ color: rgb(7, 12, 53);
/* oklch */ color: oklch(18.4% 0.080 270.4);
Tailwind
colors: {
  custom: {
    50: '#4e4b6d',
    500: '#070c35',
    950: '#000000',
  },
}
SCSS
$custom: #070c35;
$custom-light: #4e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#070c35",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 233.478,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18421,
    "c": 0.07967,
    "h": 270.4
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#070C35
secondary
#756C23
accent
#DE35F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070C35

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

Preview Lab → · Contrast checker → · Palette generator →

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