#070A40#070A40

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

Color values

HEX#070A40
RGBrgb(7, 10, 64)
HSLhsl(237, 80%, 14%)
HSVhsv(237, 89%, 25%)
CMYKcmyk(89.1%, 84.4%, 0%, 74.9%)
CIE-LABlab(5.71, 20.24, -33.77)
CIE-LCHlch(5.71, 39.37, 300.94°)
OKLaboklab(19.39% 0.0002 -0.0991)
OKLCHoklch(19.39% 0.099 270.1)
XYZxyz(1.1213, 0.6323, 4.9124)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A40 #403D07
analogous
#072740 #070A40 #210740
triadic
#070A40 #40070A #0A4007
tetradic
#070A40 #400727 #403D07 #074021
square
#070A40 #400727 #403D07 #074021
split-complementary
#070A40 #402107 #274007
monochromatic
#03041C #03041C #070A40 #0D1377 #131BAE

Accessibility & contrast

On white

18.64
#070A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070A40
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A40#FFFFFF#000000##FFFFFF
##070A401.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070a40;
/* rgb */ color: rgb(7, 10, 64);
/* oklch */ color: oklch(19.4% 0.099 270.1);
Tailwind
colors: {
  custom: {
    50: '#534a75',
    500: '#070a40',
    950: '#000000',
  },
}
SCSS
$custom: #070a40;
$custom-light: #534a75;
$custom-dark: #000000;
JSON
{
  "hex": "#070a40",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 236.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19388,
    "c": 0.0991,
    "h": 270.1
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#070A40
secondary
#7F7A24
accent
#EC31F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070A40

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

Preview Lab → · Contrast checker → · Palette generator →

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