#070B42#070B42

#070B42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.101 H 269.7°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#070B42
RGBrgb(7, 11, 66)
HSLhsl(236, 81%, 14%)
HSVhsv(236, 89%, 26%)
CMYKcmyk(89.4%, 83.3%, 0%, 74.1%)
CIE-LABlab(6.12, 20.76, -34.52)
CIE-LCHlch(6.12, 40.28, 301.02°)
OKLaboklab(19.82% -0.0006 -0.1008)
OKLCHoklch(19.82% 0.101 269.7)
XYZxyz(1.1903, 0.6777, 5.2213)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B42 #423E07
analogous
#072942 #070B42 #210742
triadic
#070B42 #42070B #0B4207
tetradic
#070B42 #420729 #423E07 #074221
square
#070B42 #420729 #423E07 #074221
split-complementary
#070B42 #422107 #294207
monochromatic
#03051C #03051C #070B42 #0D1479 #131DB1

Accessibility & contrast

On white

18.49
#070B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#070B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070B42
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B42#FFFFFF#000000##FFFFFF
##070B421.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #070b42;
/* rgb */ color: rgb(7, 11, 66);
/* oklch */ color: oklch(19.8% 0.101 269.7);
Tailwind
colors: {
  custom: {
    50: '#534a77',
    500: '#070b42',
    950: '#000000',
  },
}
SCSS
$custom: #070b42;
$custom-light: #534a77;
$custom-dark: #000000;
JSON
{
  "hex": "#070b42",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 235.932,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19822,
    "c": 0.10085,
    "h": 269.7
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#070B42
secondary
#817B24
accent
#EA31F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #070B42

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

Preview Lab → · Contrast checker → · Palette generator →

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