#070F42#070F42

#070F42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.096 H 268.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#070F42
RGBrgb(7, 15, 66)
HSLhsl(232, 81%, 14%)
HSVhsv(232, 89%, 26%)
CMYKcmyk(89.4%, 77.3%, 0%, 74.1%)
CIE-LABlab(7.05, 18.42, -33.01)
CIE-LCHlch(7.05, 37.80, 299.16°)
OKLaboklab(20.58% -0.0026 -0.0958)
OKLCHoklch(20.58% 0.096 268.5)
XYZxyz(1.2415, 0.7800, 5.2383)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F42 #423A07
analogous
#072D42 #070F42 #1D0742
triadic
#070F42 #42070F #0F4207
tetradic
#070F42 #42072D #423A07 #07421D
square
#070F42 #42072D #423A07 #07421D
split-complementary
#070F42 #421D07 #2D4207
monochromatic
#03061C #03061C #070F42 #0D1C79 #1328B1

Accessibility & contrast

On white

18.17
#070F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#070F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F42
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F42#FFFFFF#000000##FFFFFF
##070F421.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #070f42;
/* rgb */ color: rgb(7, 15, 66);
/* oklch */ color: oklch(20.6% 0.096 268.5);
Tailwind
colors: {
  custom: {
    50: '#534d77',
    500: '#070f42',
    950: '#000000',
  },
}
SCSS
$custom: #070f42;
$custom-light: #534d77;
$custom-dark: #000000;
JSON
{
  "hex": "#070f42",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 231.864,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2058,
    "c": 0.09583,
    "h": 268.5
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#070F42
secondary
#817424
accent
#DC31F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #070F42

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

Preview Lab → · Contrast checker → · Palette generator →

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