#071047#071047

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

Color values

HEX#071047
RGBrgb(7, 16, 71)
HSLhsl(232, 82%, 15%)
HSVhsv(232, 90%, 28%)
CMYKcmyk(90.1%, 77.5%, 0%, 72.2%)
CIE-LABlab(7.86, 19.99, -35.19)
CIE-LCHlch(7.86, 40.47, 299.60°)
OKLaboklab(21.38% -0.0036 -0.102)
OKLCHoklch(21.38% 0.102 268)
XYZxyz(1.4098, 0.8705, 6.0537)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071047 #473E07
analogous
#073047 #071047 #1E0747
triadic
#071047 #470710 #104707
tetradic
#071047 #470730 #473E07 #07471E
square
#071047 #470730 #473E07 #07471E
split-complementary
#071047 #471E07 #304707
monochromatic
#03061C #03061C #071047 #0C1D7F #1229B6

Accessibility & contrast

On white

17.88
#071047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071047
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071047#FFFFFF#000000##FFFFFF
##0710471.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071047;
/* rgb */ color: rgb(7, 16, 71);
/* oklch */ color: oklch(21.4% 0.102 268.0);
Tailwind
colors: {
  custom: {
    50: '#554e7b',
    500: '#071047',
    950: '#000000',
  },
}
SCSS
$custom: #071047;
$custom-light: #554e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#071047",
  "rgb": {
    "r": 7,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 231.563,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21377,
    "c": 0.10202,
    "h": 268
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#071047
secondary
#867824
accent
#DC2FF8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #071047

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

Preview Lab → · Contrast checker → · Palette generator →

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