#070C46#070C46

#070C46 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.105 H 269.1°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#070C46
RGBrgb(7, 12, 70)
HSLhsl(235, 82%, 15%)
HSVhsv(235, 90%, 27%)
CMYKcmyk(90%, 82.9%, 0%, 72.5%)
CIE-LABlab(6.78, 22.14, -36.28)
CIE-LCHlch(6.78, 42.50, 301.39°)
OKLaboklab(20.51% -0.0016 -0.1054)
OKLCHoklch(20.51% 0.105 269.1)
XYZxyz(1.3242, 0.7502, 5.8682)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070C46 #464107
analogous
#072B46 #070C46 #210746
triadic
#070C46 #46070C #0C4607
tetradic
#070C46 #46072B #464107 #074621
square
#070C46 #46072B #464107 #074621
split-complementary
#070C46 #462107 #2B4607
monochromatic
#03051C #03051C #070C46 #0D167E #121FB5

Accessibility & contrast

On white

18.26
#070C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#070C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070C46
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070C46#FFFFFF#000000##FFFFFF
##070C461.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #070c46;
/* rgb */ color: rgb(7, 12, 70);
/* oklch */ color: oklch(20.5% 0.105 269.1);
Tailwind
colors: {
  custom: {
    50: '#554b7a',
    500: '#070c46',
    950: '#000000',
  },
}
SCSS
$custom: #070c46;
$custom-light: #554b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#070c46",
  "rgb": {
    "r": 7,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 235.238,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20511,
    "c": 0.10546,
    "h": 269.1
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#070C46
secondary
#857D24
accent
#E830F8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #070C46

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

Preview Lab → · Contrast checker → · Palette generator →

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