#07042D#07042D

#07042D is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.080 H 276.3°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#07042D
RGBrgb(7, 4, 45)
HSLhsl(244, 84%, 10%)
HSVhsv(244, 91%, 18%)
CMYKcmyk(84.4%, 91.1%, 0%, 82.4%)
CIE-LABlab(2.90, 12.25, -24.35)
CIE-LCHlch(2.90, 27.25, 296.71°)
OKLaboklab(15.59% 0.0088 -0.0793)
OKLCHoklch(15.59% 0.08 276.3)
XYZxyz(0.6045, 0.3214, 2.5123)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07042D #2A2D04
analogous
#04162D #07042D #1C042D
triadic
#07042D #2D0704 #042D07
tetradic
#07042D #2D0416 #2A2D04 #042D1C
square
#07042D #2D0416 #2A2D04 #042D1C
split-complementary
#07042D #2D1C04 #162D04
monochromatic
#04021C #04021C #07042D #100965 #180E9D

Accessibility & contrast

On white

19.73
#07042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#07042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07042D
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07042D#FFFFFF#000000##FFFFFF
##07042D1.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#00092C
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #07042d;
/* rgb */ color: rgb(7, 4, 45);
/* oklch */ color: oklch(15.6% 0.080 276.3);
Tailwind
colors: {
  custom: {
    50: '#4b4866',
    500: '#07042d',
    950: '#000000',
  },
}
SCSS
$custom: #07042d;
$custom-light: #4b4866;
$custom-dark: #000000;
JSON
{
  "hex": "#07042d",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 244.39,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15585,
    "c": 0.07975,
    "h": 276.3
  },
  "luminance": 0.00321
}

Semantic roles & 50–950 ramp

primary
#07042D
secondary
#6A701D
accent
#FA2EEB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07042D

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

Preview Lab → · Contrast checker → · Palette generator →

#07042D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva