#070B40#070B40

#070B40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.098 H 269.9°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#070B40
RGBrgb(7, 11, 64)
HSLhsl(236, 80%, 14%)
HSVhsv(236, 89%, 25%)
CMYKcmyk(89.1%, 82.8%, 0%, 74.9%)
CIE-LABlab(5.91, 19.75, -33.44)
CIE-LCHlch(5.91, 38.83, 300.56°)
OKLaboklab(19.57% -0.0002 -0.0979)
OKLCHoklch(19.57% 0.098 269.9)
XYZxyz(1.1324, 0.6546, 4.9162)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B40 #403C07
analogous
#072840 #070B40 #200740
triadic
#070B40 #40070B #0B4007
tetradic
#070B40 #400728 #403C07 #074020
square
#070B40 #400728 #403C07 #074020
split-complementary
#070B40 #402007 #284007
monochromatic
#03051C #03051C #070B40 #0D1477 #131EAE

Accessibility & contrast

On white

18.57
#070B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B40
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B40#FFFFFF#000000##FFFFFF
##070B401.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070b40;
/* rgb */ color: rgb(7, 11, 64);
/* oklch */ color: oklch(19.6% 0.098 269.9);
Tailwind
colors: {
  custom: {
    50: '#534a75',
    500: '#070b40',
    950: '#000000',
  },
}
SCSS
$custom: #070b40;
$custom-light: #534a75;
$custom-dark: #000000;
JSON
{
  "hex": "#070b40",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 235.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19566,
    "c": 0.09792,
    "h": 269.9
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#070B40
secondary
#7F7924
accent
#E931F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070B40

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

Preview Lab → · Contrast checker → · Palette generator →

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