#071034#071034

#071034 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.072 H 267.9°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#071034
RGBrgb(7, 16, 52)
HSLhsl(228, 76%, 12%)
HSVhsv(228, 87%, 20%)
CMYKcmyk(86.5%, 69.2%, 0%, 79.6%)
CIE-LABlab(5.99, 10.68, -24.62)
CIE-LCHlch(5.99, 26.84, 293.46°)
OKLaboklab(19.23% -0.0027 -0.072)
OKLCHoklch(19.23% 0.072 267.9)
XYZxyz(0.8925, 0.6636, 3.3292)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071034 #342B07
analogous
#072734 #071034 #150734
triadic
#071034 #340710 #103407
tetradic
#071034 #340727 #342B07 #073415
square
#071034 #340727 #342B07 #073415
split-complementary
#071034 #341507 #273407
monochromatic
#04081B #04081B #071034 #0E216A #1631A0

Accessibility & contrast

On white

18.54
#071034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#071034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071034
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071034#FFFFFF#000000##FFFFFF
##0710341.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #071034;
/* rgb */ color: rgb(7, 16, 52);
/* oklch */ color: oklch(19.2% 0.072 267.9);
Tailwind
colors: {
  custom: {
    50: '#4e4e6c',
    500: '#071034',
    950: '#000000',
  },
}
SCSS
$custom: #071034;
$custom-light: #4e4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#071034",
  "rgb": {
    "r": 7,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 228,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19229,
    "c": 0.07207,
    "h": 267.9
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#071034
secondary
#746423
accent
#CD35F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #071034

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

Preview Lab → · Contrast checker → · Palette generator →

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