#070740#070740

#070740 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.103 H 270.9°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#070740
RGBrgb(7, 7, 64)
HSLhsl(240, 80%, 14%)
HSVhsv(240, 89%, 25%)
CMYKcmyk(89.1%, 89.1%, 0%, 74.9%)
CIE-LABlab(5.12, 21.66, -34.73)
CIE-LCHlch(5.12, 40.93, 301.95°)
OKLaboklab(18.85% 0.0016 -0.1027)
OKLCHoklch(18.85% 0.103 270.9)
XYZxyz(1.0887, 0.5672, 4.9016)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070740 #404007
analogous
#072440 #070740 #240740
triadic
#070740 #400707 #074007
tetradic
#070740 #400724 #404007 #074024
square
#070740 #400724 #404007 #074024
split-complementary
#070740 #402407 #244007
monochromatic
#03031C #03031C #070740 #0D0D77 #1313AE

Accessibility & contrast

On white

18.86
#070740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070740
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070740#FFFFFF#000000##FFFFFF
##0707401.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070740;
/* rgb */ color: rgb(7, 7, 64);
/* oklch */ color: oklch(18.9% 0.103 270.9);
Tailwind
colors: {
  custom: {
    50: '#534876',
    500: '#070740',
    950: '#000000',
  },
}
SCSS
$custom: #070740;
$custom-light: #534876;
$custom-dark: #000000;
JSON
{
  "hex": "#070740",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.1885,
    "c": 0.10274,
    "h": 270.9
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#070740
secondary
#7F7F24
accent
#F731F7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #070740

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

Preview Lab → · Contrast checker → · Palette generator →

#070740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva