#071834#071834

#071834 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.3% C 0.060 H 259.6°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#071834
RGBrgb(7, 24, 52)
HSLhsl(217, 76%, 12%)
HSVhsv(217, 87%, 20%)
CMYKcmyk(86.5%, 53.8%, 0%, 79.6%)
CIE-LABlab(8.54, 5.03, -20.53)
CIE-LCHlch(8.54, 21.14, 283.76°)
OKLaboklab(21.31% -0.0108 -0.0588)
OKLCHoklch(21.31% 0.06 259.6)
XYZxyz(1.0339, 0.9463, 3.3763)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071834 #342307
analogous
#072F34 #071834 #0D0734
triadic
#071834 #340718 #183407
tetradic
#071834 #34072F #342307 #07340D
square
#071834 #34072F #342307 #07340D
split-complementary
#071834 #340D07 #2F3407
monochromatic
#040C1B #040C1B #071834 #0E316A #164AA0

Accessibility & contrast

On white

17.66
#071834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071834
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071834#FFFFFF#000000##FFFFFF
##0718341.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B35
Deuteranopia (green-blind)
#031733
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071834;
/* rgb */ color: rgb(7, 24, 52);
/* oklch */ color: oklch(21.3% 0.060 259.6);
Tailwind
colors: {
  custom: {
    50: '#4e546b',
    500: '#071834',
    950: '#000000',
  },
}
SCSS
$custom: #071834;
$custom-light: #4e546b;
$custom-dark: #000000;
JSON
{
  "hex": "#071834",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 217.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21307,
    "c": 0.05981,
    "h": 259.6
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#071834
secondary
#745523
accent
#AB35F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071834

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

Preview Lab → · Contrast checker → · Palette generator →

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