#071642#071642

#071642 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.086 H 265.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#071642
RGBrgb(7, 22, 66)
HSLhsl(225, 81%, 14%)
HSVhsv(225, 89%, 26%)
CMYKcmyk(89.4%, 66.7%, 0%, 74.1%)
CIE-LABlab(9.09, 13.16, -29.66)
CIE-LCHlch(9.09, 32.44, 293.93°)
OKLaboklab(22.12% -0.0072 -0.0857)
OKLCHoklch(22.12% 0.086 265.2)
XYZxyz(1.3576, 1.0122, 5.2770)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071642 #423307
analogous
#073442 #071642 #160742
triadic
#071642 #420716 #164207
tetradic
#071642 #420734 #423307 #074216
square
#071642 #420734 #423307 #074216
split-complementary
#071642 #421607 #344207
monochromatic
#03091C #03091C #071642 #0D2879 #133BB1

Accessibility & contrast

On white

17.47
#071642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#071642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071642
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071642#FFFFFF#000000##FFFFFF
##0716421.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#001741
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071642;
/* rgb */ color: rgb(7, 22, 66);
/* oklch */ color: oklch(22.1% 0.086 265.2);
Tailwind
colors: {
  custom: {
    50: '#525277',
    500: '#071642',
    950: '#000000',
  },
}
SCSS
$custom: #071642;
$custom-light: #525277;
$custom-dark: #000000;
JSON
{
  "hex": "#071642",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 224.746,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22119,
    "c": 0.08601,
    "h": 265.2
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#071642
secondary
#816924
accent
#C531F7
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071642

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

Preview Lab → · Contrast checker → · Palette generator →

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