#070C3C#070C3C

#070C3C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.091 H 269.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#070C3C
RGBrgb(7, 12, 60)
HSLhsl(234, 79%, 13%)
HSVhsv(234, 88%, 24%)
CMYKcmyk(88.3%, 80%, 0%, 76.5%)
CIE-LABlab(5.73, 17.15, -30.87)
CIE-LCHlch(5.73, 35.31, 299.05°)
OKLaboklab(19.26% -0.0001 -0.0906)
OKLCHoklch(19.26% 0.091 269.9)
XYZxyz(1.0344, 0.6342, 4.3420)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C3C #3C3707
analogous
#07263C #070C3C #1C073C
triadic
#070C3C #3C070C #0C3C07
tetradic
#070C3C #3C0726 #3C3707 #073C1C
square
#070C3C #3C0726 #3C3707 #073C1C
split-complementary
#070C3C #3C1C07 #263C07
monochromatic
#03051B #03051B #070C3C #0D1773 #1422AA

Accessibility & contrast

On white

18.64
#070C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C3C
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C3C#FFFFFF#000000##FFFFFF
##070C3C1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070c3c;
/* rgb */ color: rgb(7, 12, 60);
/* oklch */ color: oklch(19.3% 0.091 269.9);
Tailwind
colors: {
  custom: {
    50: '#514b72',
    500: '#070c3c',
    950: '#000000',
  },
}
SCSS
$custom: #070c3c;
$custom-light: #514b72;
$custom-dark: #000000;
JSON
{
  "hex": "#070c3c",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 234.34,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19256,
    "c": 0.09065,
    "h": 269.9
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#070C3C
secondary
#7B7323
accent
#E332F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #070C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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