#071342#071342

#071342 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.090 H 266.8°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#071342
RGBrgb(7, 19, 66)
HSLhsl(228, 81%, 14%)
HSVhsv(228, 89%, 26%)
CMYKcmyk(89.4%, 71.2%, 0%, 74.1%)
CIE-LABlab(8.17, 15.52, -31.17)
CIE-LCHlch(8.17, 34.82, 296.47°)
OKLaboklab(21.43% -0.005 -0.0902)
OKLCHoklch(21.43% 0.09 266.8)
XYZxyz(1.3035, 0.9041, 5.2590)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071342 #423607
analogous
#073142 #071342 #190742
triadic
#071342 #420713 #134207
tetradic
#071342 #420731 #423607 #074219
square
#071342 #420731 #423607 #074219
split-complementary
#071342 #421907 #314207
monochromatic
#03081C #03081C #071342 #0D2379 #1333B1

Accessibility & contrast

On white

17.78
#071342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071342
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071342#FFFFFF#000000##FFFFFF
##0713421.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #071342;
/* rgb */ color: rgb(7, 19, 66);
/* oklch */ color: oklch(21.4% 0.090 266.8);
Tailwind
colors: {
  custom: {
    50: '#535077',
    500: '#071342',
    950: '#000000',
  },
}
SCSS
$custom: #071342;
$custom-light: #535077;
$custom-dark: #000000;
JSON
{
  "hex": "#071342",
  "rgb": {
    "r": 7,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 227.797,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2143,
    "c": 0.09034,
    "h": 266.8
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#071342
secondary
#816E24
accent
#CF31F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #071342

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

Preview Lab → · Contrast checker → · Palette generator →

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