#07042E#07042E

#07042E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.7% C 0.081 H 276.0°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#07042E
RGBrgb(7, 4, 46)
HSLhsl(244, 84%, 10%)
HSVhsv(244, 91%, 18%)
CMYKcmyk(84.8%, 91.3%, 0%, 82%)
CIE-LABlab(2.97, 12.74, -24.99)
CIE-LCHlch(2.97, 28.05, 297.02°)
OKLaboklab(15.72% 0.0085 -0.0808)
OKLCHoklch(15.72% 0.081 276)
XYZxyz(0.6240, 0.3292, 2.6149)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07042E #2B2E04
analogous
#04162E #07042E #1C042E
triadic
#07042E #2E0704 #042E07
tetradic
#07042E #2E0416 #2B2E04 #042E1C
square
#07042E #2E0416 #2B2E04 #042E1C
split-complementary
#07042E #2E1C04 #162E04
monochromatic
#04021C #04021C #07042E #100966 #180E9F

Accessibility & contrast

On white

19.70
#07042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#07042E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07042E
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07042E#FFFFFF#000000##FFFFFF
##07042E1.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#00092D
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #07042e;
/* rgb */ color: rgb(7, 4, 46);
/* oklch */ color: oklch(15.7% 0.081 276.0);
Tailwind
colors: {
  custom: {
    50: '#4b4867',
    500: '#07042e',
    950: '#000000',
  },
}
SCSS
$custom: #07042e;
$custom-light: #4b4867;
$custom-dark: #000000;
JSON
{
  "hex": "#07042e",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 244.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15722,
    "c": 0.08124,
    "h": 276
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#07042E
secondary
#6B711D
accent
#FA2EEC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07042E

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

Preview Lab → · Contrast checker → · Palette generator →

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