#070A42#070A42

#070A42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.102 H 269.9°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#070A42
RGBrgb(7, 10, 66)
HSLhsl(237, 81%, 14%)
HSVhsv(237, 89%, 26%)
CMYKcmyk(89.4%, 84.8%, 0%, 74.1%)
CIE-LABlab(5.92, 21.26, -34.85)
CIE-LCHlch(5.92, 40.82, 301.39°)
OKLaboklab(19.65% -0.0001 -0.102)
OKLCHoklch(19.65% 0.102 269.9)
XYZxyz(1.1792, 0.6555, 5.2176)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A42 #423F07
analogous
#072842 #070A42 #220742
triadic
#070A42 #42070A #0A4207
tetradic
#070A42 #420728 #423F07 #074222
square
#070A42 #420728 #423F07 #074222
split-complementary
#070A42 #422207 #284207
monochromatic
#03041C #03041C #070A42 #0D1279 #131BB1

Accessibility & contrast

On white

18.56
#070A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#070A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070A42
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A42#FFFFFF#000000##FFFFFF
##070A421.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070a42;
/* rgb */ color: rgb(7, 10, 66);
/* oklch */ color: oklch(19.6% 0.102 269.9);
Tailwind
colors: {
  custom: {
    50: '#534a77',
    500: '#070a42',
    950: '#000000',
  },
}
SCSS
$custom: #070a42;
$custom-light: #534a77;
$custom-dark: #000000;
JSON
{
  "hex": "#070a42",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 236.949,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19649,
    "c": 0.102,
    "h": 269.9
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#070A42
secondary
#817C24
accent
#ED31F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #070A42

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

Preview Lab → · Contrast checker → · Palette generator →

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