#070642#070642

#070642 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.107 H 270.8°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#070642
RGBrgb(7, 6, 66)
HSLhsl(241, 83%, 14%)
HSVhsv(241, 91%, 26%)
CMYKcmyk(89.4%, 90.9%, 0%, 74.1%)
CIE-LABlab(5.14, 23.21, -36.14)
CIE-LCHlch(5.14, 42.95, 302.71°)
OKLaboklab(18.94% 0.0015 -0.1067)
OKLCHoklch(18.94% 0.107 270.8)
XYZxyz(1.1358, 0.5686, 5.2031)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070642 #414206
analogous
#062342 #070642 #250642
triadic
#070642 #420706 #064207
tetradic
#070642 #420623 #414206 #064225
square
#070642 #420623 #414206 #064225
split-complementary
#070642 #422506 #234206
monochromatic
#03031C #03031C #070642 #0D0B7A #1310B2

Accessibility & contrast

On white

18.85
#070642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070642
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070642#FFFFFF#000000##FFFFFF
##0706421.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001444
Deuteranopia (green-blind)
#000E41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070642;
/* rgb */ color: rgb(7, 6, 66);
/* oklch */ color: oklch(18.9% 0.107 270.8);
Tailwind
colors: {
  custom: {
    50: '#534877',
    500: '#070642',
    950: '#000000',
  },
}
SCSS
$custom: #070642;
$custom-light: #534877;
$custom-dark: #000000;
JSON
{
  "hex": "#070642",
  "rgb": {
    "r": 7,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 241,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.18944,
    "c": 0.10676,
    "h": 270.8
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#070642
secondary
#808222
accent
#FA2EF6
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #070642

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

Preview Lab → · Contrast checker → · Palette generator →

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