#070A36#070A36

#070A36 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.084 H 271.3°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#070A36
RGBrgb(7, 10, 54)
HSLhsl(236, 77%, 12%)
HSVhsv(236, 87%, 21%)
CMYKcmyk(87%, 81.5%, 0%, 78.8%)
CIE-LABlab(4.77, 14.72, -28.05)
CIE-LCHlch(4.77, 31.68, 297.69°)
OKLaboklab(18.13% 0.0019 -0.084)
OKLCHoklch(18.13% 0.084 271.3)
XYZxyz(0.8618, 0.5285, 3.5459)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A36 #363307
analogous
#072236 #070A36 #1C0736
triadic
#070A36 #36070A #0A3607
tetradic
#070A36 #360722 #363307 #07361C
square
#070A36 #360722 #363307 #07361C
split-complementary
#070A36 #361C07 #223607
monochromatic
#04051B #04051B #070A36 #0E146C #151EA2

Accessibility & contrast

On white

18.99
#070A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A36
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A36#FFFFFF#000000##FFFFFF
##070A361.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070a36;
/* rgb */ color: rgb(7, 10, 54);
/* oklch */ color: oklch(18.1% 0.084 271.3);
Tailwind
colors: {
  custom: {
    50: '#4e4a6d',
    500: '#070a36',
    950: '#000000',
  },
}
SCSS
$custom: #070a36;
$custom-light: #4e4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#070a36",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 236.17,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18125,
    "c": 0.08403,
    "h": 271.3
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#070A36
secondary
#767023
accent
#E734F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070A36

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

Preview Lab → · Contrast checker → · Palette generator →

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