#070942#070942

#070942 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.103 H 270.2°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#070942
RGBrgb(7, 9, 66)
HSLhsl(238, 81%, 14%)
HSVhsv(238, 89%, 26%)
CMYKcmyk(89.4%, 86.4%, 0%, 74.1%)
CIE-LABlab(5.73, 21.75, -35.17)
CIE-LCHlch(5.73, 41.35, 301.73°)
OKLaboklab(19.48% 0.0003 -0.1032)
OKLCHoklch(19.48% 0.103 270.2)
XYZxyz(1.1683, 0.6338, 5.2140)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070942 #424007
analogous
#072742 #070942 #230742
triadic
#070942 #420709 #094207
tetradic
#070942 #420727 #424007 #074223
square
#070942 #420727 #424007 #074223
split-complementary
#070942 #422307 #274207
monochromatic
#03041C #03041C #070942 #0D1179 #1318B1

Accessibility & contrast

On white

18.64
#070942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#070942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070942
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070942#FFFFFF#000000##FFFFFF
##0709421.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070942;
/* rgb */ color: rgb(7, 9, 66);
/* oklch */ color: oklch(19.5% 0.103 270.2);
Tailwind
colors: {
  custom: {
    50: '#534977',
    500: '#070942',
    950: '#000000',
  },
}
SCSS
$custom: #070942;
$custom-light: #534977;
$custom-dark: #000000;
JSON
{
  "hex": "#070942",
  "rgb": {
    "r": 7,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 237.966,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19477,
    "c": 0.10316,
    "h": 270.2
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#070942
secondary
#817E24
accent
#F031F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #070942

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

Preview Lab → · Contrast checker → · Palette generator →

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