#070A38#070A38

#070A38 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.087 H 271.1°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#070A38
RGBrgb(7, 10, 56)
HSLhsl(236, 78%, 12%)
HSVhsv(236, 88%, 22%)
CMYKcmyk(87.5%, 82.1%, 0%, 78%)
CIE-LABlab(4.95, 15.87, -29.23)
CIE-LCHlch(4.95, 33.26, 298.49°)
OKLaboklab(18.37% 0.0016 -0.0871)
OKLCHoklch(18.37% 0.087 271.1)
XYZxyz(0.9097, 0.5477, 3.7984)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A38 #383507
analogous
#072238 #070A38 #1D0738
triadic
#070A38 #38070A #0A3807
tetradic
#070A38 #380722 #383507 #07381D
square
#070A38 #380722 #383507 #07381D
split-complementary
#070A38 #381D07 #223807
monochromatic
#03051B #03051B #070A38 #0E146E #151DA5

Accessibility & contrast

On white

18.93
#070A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070A38
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A38#FFFFFF#000000##FFFFFF
##070A381.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070a38;
/* rgb */ color: rgb(7, 10, 56);
/* oklch */ color: oklch(18.4% 0.087 271.1);
Tailwind
colors: {
  custom: {
    50: '#4f4a6f',
    500: '#070a38',
    950: '#000000',
  },
}
SCSS
$custom: #070a38;
$custom-light: #4f4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#070a38",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 236.327,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18372,
    "c": 0.08713,
    "h": 271.1
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#070A38
secondary
#787223
accent
#E834F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070A38

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

Preview Lab → · Contrast checker → · Palette generator →

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