#071742#071742

#071742 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.085 H 264.6°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#071742
RGBrgb(7, 23, 66)
HSLhsl(224, 81%, 14%)
HSVhsv(224, 89%, 26%)
CMYKcmyk(89.4%, 65.2%, 0%, 74.1%)
CIE-LABlab(9.41, 12.36, -29.14)
CIE-LCHlch(9.41, 31.65, 292.99°)
OKLaboklab(22.36% -0.008 -0.0842)
OKLCHoklch(22.36% 0.085 264.6)
XYZxyz(1.3770, 1.0511, 5.2835)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071742 #423207
analogous
#073542 #071742 #150742
triadic
#071742 #420717 #174207
tetradic
#071742 #420735 #423207 #074215
square
#071742 #420735 #423207 #074215
split-complementary
#071742 #421507 #354207
monochromatic
#030A1C #030A1C #071742 #0D2A79 #133EB1

Accessibility & contrast

On white

17.35
#071742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071742
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071742#FFFFFF#000000##FFFFFF
##0717421.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #071742;
/* rgb */ color: rgb(7, 23, 66);
/* oklch */ color: oklch(22.4% 0.085 264.6);
Tailwind
colors: {
  custom: {
    50: '#525377',
    500: '#071742',
    950: '#000000',
  },
}
SCSS
$custom: #071742;
$custom-light: #525377;
$custom-dark: #000000;
JSON
{
  "hex": "#071742",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 223.729,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22357,
    "c": 0.08455,
    "h": 264.6
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#071742
secondary
#816824
accent
#C131F7
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071742

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

Preview Lab → · Contrast checker → · Palette generator →

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