#070C3D#070C3D

#070C3D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.092 H 269.8°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#070C3D
RGBrgb(7, 12, 61)
HSLhsl(234, 79%, 13%)
HSVhsv(234, 89%, 24%)
CMYKcmyk(88.5%, 80.3%, 0%, 76.1%)
CIE-LABlab(5.83, 17.67, -31.43)
CIE-LCHlch(5.83, 36.06, 299.35°)
OKLaboklab(19.38% -0.0003 -0.0922)
OKLCHoklch(19.38% 0.092 269.8)
XYZxyz(1.0611, 0.6449, 4.4825)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C3D #3D3807
analogous
#07273D #070C3D #1D073D
triadic
#070C3D #3D070C #0C3D07
tetradic
#070C3D #3D0727 #3D3807 #073D1D
square
#070C3D #3D0727 #3D3807 #073D1D
split-complementary
#070C3D #3D1D07 #273D07
monochromatic
#03051B #03051B #070C3D #0D1774 #1422AB

Accessibility & contrast

On white

18.60
#070C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070C3D
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C3D#FFFFFF#000000##FFFFFF
##070C3D1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00103C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070c3d;
/* rgb */ color: rgb(7, 12, 61);
/* oklch */ color: oklch(19.4% 0.092 269.8);
Tailwind
colors: {
  custom: {
    50: '#514b73',
    500: '#070c3d',
    950: '#000000',
  },
}
SCSS
$custom: #070c3d;
$custom-light: #514b73;
$custom-dark: #000000;
JSON
{
  "hex": "#070c3d",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 234.444,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19379,
    "c": 0.09217,
    "h": 269.8
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#070C3D
secondary
#7C7423
accent
#E432F6
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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