#071442#071442

#071442 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 266.3°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#071442
RGBrgb(7, 20, 66)
HSLhsl(227, 81%, 14%)
HSVhsv(227, 89%, 26%)
CMYKcmyk(89.4%, 69.7%, 0%, 74.1%)
CIE-LABlab(8.47, 14.73, -30.67)
CIE-LCHlch(8.47, 34.03, 295.66°)
OKLaboklab(21.65% -0.0057 -0.0887)
OKLCHoklch(21.65% 0.089 266.3)
XYZxyz(1.3208, 0.9387, 5.2648)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071442 #423507
analogous
#073242 #071442 #180742
triadic
#071442 #420714 #144207
tetradic
#071442 #420732 #423507 #074218
square
#071442 #420732 #423507 #074218
split-complementary
#071442 #421807 #324207
monochromatic
#03081C #03081C #071442 #0D2579 #1336B1

Accessibility & contrast

On white

17.68
#071442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#071442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071442
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071442#FFFFFF#000000##FFFFFF
##0714421.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #071442;
/* rgb */ color: rgb(7, 20, 66);
/* oklch */ color: oklch(21.7% 0.089 266.3);
Tailwind
colors: {
  custom: {
    50: '#535177',
    500: '#071442',
    950: '#000000',
  },
}
SCSS
$custom: #071442;
$custom-light: #535177;
$custom-dark: #000000;
JSON
{
  "hex": "#071442",
  "rgb": {
    "r": 7,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 226.78,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21655,
    "c": 0.08891,
    "h": 266.3
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#071442
secondary
#816C24
accent
#CB31F7
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071442

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

Preview Lab → · Contrast checker → · Palette generator →

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