#070C32#070C32

#070C32 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.075 H 270.6°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#070C32
RGBrgb(7, 12, 50)
HSLhsl(233, 75%, 11%)
HSVhsv(233, 86%, 20%)
CMYKcmyk(86%, 76%, 0%, 80.4%)
CIE-LABlab(4.86, 11.59, -24.96)
CIE-LCHlch(4.86, 27.52, 294.91°)
OKLaboklab(18.08% 0.0008 -0.0748)
OKLCHoklch(18.08% 0.075 270.6)
XYZxyz(0.7946, 0.5383, 3.0790)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C32 #322D07
analogous
#072132 #070C32 #170732
triadic
#070C32 #32070C #0C3207
tetradic
#070C32 #320721 #322D07 #073217
square
#070C32 #320721 #322D07 #073217
split-complementary
#070C32 #321707 #213207
monochromatic
#04061B #04061B #070C32 #0F1968 #16269D

Accessibility & contrast

On white

18.96
#070C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C32
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C32#FFFFFF#000000##FFFFFF
##070C321.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070c32;
/* rgb */ color: rgb(7, 12, 50);
/* oklch */ color: oklch(18.1% 0.075 270.6);
Tailwind
colors: {
  custom: {
    50: '#4d4c6a',
    500: '#070c32',
    950: '#000000',
  },
}
SCSS
$custom: #070c32;
$custom-light: #4d4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#070c32",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 233.023,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18077,
    "c": 0.07478,
    "h": 270.6
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#070C32
secondary
#726923
accent
#DC36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #070C32

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

Preview Lab → · Contrast checker → · Palette generator →

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