#070340#070340

#070340 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.108 H 271.7°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#070340
RGBrgb(7, 3, 64)
HSLhsl(244, 91%, 13%)
HSVhsv(244, 95%, 25%)
CMYKcmyk(89.1%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.34, 23.53, -36.01)
CIE-LCHlch(4.34, 43.01, 303.16°)
OKLaboklab(18.08% 0.0032 -0.1079)
OKLCHoklch(18.08% 0.108 271.7)
XYZxyz(1.0453, 0.4803, 4.8871)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070340 #3C4003
analogous
#031D40 #070340 #250340
triadic
#070340 #400703 #034007
tetradic
#070340 #40031D #3C4003 #034025
square
#070340 #40031D #3C4003 #034025
split-complementary
#070340 #402503 #1D4003
monochromatic
#03011D #03011D #070340 #0D067A #1408B5

Accessibility & contrast

On white

19.16
#070340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070340
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070340#FFFFFF#000000##FFFFFF
##0703401.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000C3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070340;
/* rgb */ color: rgb(7, 3, 64);
/* oklch */ color: oklch(18.1% 0.108 271.7);
Tailwind
colors: {
  custom: {
    50: '#534676',
    500: '#070340',
    950: '#000000',
  },
}
SCSS
$custom: #070340;
$custom-light: #534676;
$custom-dark: #000000;
JSON
{
  "hex": "#070340",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 243.934,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.1808,
    "c": 0.10799,
    "h": 271.7
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#070340
secondary
#7B821D
accent
#FF29F1
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #070340

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

Preview Lab → · Contrast checker → · Palette generator →

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