#070742#070742

#070742 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.106 H 270.6°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#070742
RGBrgb(7, 7, 66)
HSLhsl(240, 81%, 14%)
HSVhsv(240, 89%, 26%)
CMYKcmyk(89.4%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.33, 22.72, -35.81)
CIE-LCHlch(5.33, 42.41, 302.40°)
OKLaboklab(19.13% 0.0011 -0.1055)
OKLCHoklch(19.13% 0.106 270.6)
XYZxyz(1.1466, 0.5903, 5.2067)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070742 #424207
analogous
#072542 #070742 #250742
triadic
#070742 #420707 #074207
tetradic
#070742 #420725 #424207 #074225
square
#070742 #420725 #424207 #074225
split-complementary
#070742 #422507 #254207
monochromatic
#03031C #03031C #070742 #0D0D79 #1313B1

Accessibility & contrast

On white

18.78
#070742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070742
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070742#FFFFFF#000000##FFFFFF
##0707421.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070742;
/* rgb */ color: rgb(7, 7, 66);
/* oklch */ color: oklch(19.1% 0.106 270.6);
Tailwind
colors: {
  custom: {
    50: '#534877',
    500: '#070742',
    950: '#000000',
  },
}
SCSS
$custom: #070742;
$custom-light: #534877;
$custom-dark: #000000;
JSON
{
  "hex": "#070742",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 240,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19125,
    "c": 0.10554,
    "h": 270.6
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#070742
secondary
#818124
accent
#F731F7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #070742

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

Preview Lab → · Contrast checker → · Palette generator →

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