#070A3F#070A3F

#070A3F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.098 H 270.3°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#070A3F
RGBrgb(7, 10, 63)
HSLhsl(237, 80%, 14%)
HSVhsv(237, 89%, 25%)
CMYKcmyk(88.9%, 84.1%, 0%, 75.3%)
CIE-LABlab(5.61, 19.72, -33.22)
CIE-LCHlch(5.61, 38.63, 300.69°)
OKLaboklab(19.26% 0.0004 -0.0976)
OKLCHoklch(19.26% 0.098 270.3)
XYZxyz(1.0931, 0.6210, 4.7639)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A3F #3F3C07
analogous
#07263F #070A3F #20073F
triadic
#070A3F #3F070A #0A3F07
tetradic
#070A3F #3F0726 #3F3C07 #073F20
square
#070A3F #3F0726 #3F3C07 #073F20
split-complementary
#070A3F #3F2007 #263F07
monochromatic
#03041C #03041C #070A3F #0D1376 #131BAD

Accessibility & contrast

On white

18.68
#070A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A3F
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A3F#FFFFFF#000000##FFFFFF
##070A3F1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070a3f;
/* rgb */ color: rgb(7, 10, 63);
/* oklch */ color: oklch(19.3% 0.098 270.3);
Tailwind
colors: {
  custom: {
    50: '#524a75',
    500: '#070a3f',
    950: '#000000',
  },
}
SCSS
$custom: #070a3f;
$custom-light: #524a75;
$custom-dark: #000000;
JSON
{
  "hex": "#070a3f",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 236.786,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19259,
    "c": 0.09764,
    "h": 270.3
  },
  "luminance": 0.00621
}

Semantic roles & 50–950 ramp

primary
#070A3F
secondary
#7E7924
accent
#EC31F6
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #070A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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