#070D42#070D42

#070D42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.098 H 269.1°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#070D42
RGBrgb(7, 13, 66)
HSLhsl(234, 81%, 14%)
HSVhsv(234, 89%, 26%)
CMYKcmyk(89.4%, 80.3%, 0%, 74.1%)
CIE-LABlab(6.56, 19.66, -33.80)
CIE-LCHlch(6.56, 39.10, 300.18°)
OKLaboklab(20.19% -0.0015 -0.0984)
OKLCHoklch(20.19% 0.098 269.1)
XYZxyz(1.2146, 0.7262, 5.2294)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D42 #423C07
analogous
#072B42 #070D42 #1F0742
triadic
#070D42 #42070D #0D4207
tetradic
#070D42 #42072B #423C07 #07421F
square
#070D42 #42072B #423C07 #07421F
split-complementary
#070D42 #421F07 #2B4207
monochromatic
#03051C #03051C #070D42 #0D1879 #1323B1

Accessibility & contrast

On white

18.34
#070D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#070D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070D42
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D42#FFFFFF#000000##FFFFFF
##070D421.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001241
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #070d42;
/* rgb */ color: rgb(7, 13, 66);
/* oklch */ color: oklch(20.2% 0.098 269.1);
Tailwind
colors: {
  custom: {
    50: '#534c77',
    500: '#070d42',
    950: '#000000',
  },
}
SCSS
$custom: #070d42;
$custom-light: #534c77;
$custom-dark: #000000;
JSON
{
  "hex": "#070d42",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 233.898,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20188,
    "c": 0.09841,
    "h": 269.1
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#070D42
secondary
#817824
accent
#E331F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #070D42

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

Preview Lab → · Contrast checker → · Palette generator →

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