#07042F#07042F

#07042F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.083 H 275.7°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#07042F
RGBrgb(7, 4, 47)
HSLhsl(244, 84%, 10%)
HSVhsv(244, 91%, 18%)
CMYKcmyk(85.1%, 91.5%, 0%, 81.6%)
CIE-LABlab(3.05, 13.25, -25.63)
CIE-LCHlch(3.05, 28.85, 297.34°)
OKLaboklab(15.86% 0.0081 -0.0823)
OKLCHoklch(15.86% 0.083 275.7)
XYZxyz(0.6440, 0.3372, 2.7199)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07042F #2C2F04
analogous
#04172F #07042F #1C042F
triadic
#07042F #2F0704 #042F07
tetradic
#07042F #2F0417 #2C2F04 #042F1C
square
#07042F #2F0417 #2C2F04 #042F1C
split-complementary
#07042F #2F1C04 #172F04
monochromatic
#04021C #04021C #07042F #0F0967 #180EA0

Accessibility & contrast

On white

19.67
#07042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07042F
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07042F#FFFFFF#000000##FFFFFF
##07042F1.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #07042f;
/* rgb */ color: rgb(7, 4, 47);
/* oklch */ color: oklch(15.9% 0.083 275.7);
Tailwind
colors: {
  custom: {
    50: '#4c4868',
    500: '#07042f',
    950: '#000000',
  },
}
SCSS
$custom: #07042f;
$custom-light: #4c4868;
$custom-dark: #000000;
JSON
{
  "hex": "#07042f",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 244.186,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.15859,
    "c": 0.08272,
    "h": 275.7
  },
  "luminance": 0.00337
}

Semantic roles & 50–950 ramp

primary
#07042F
secondary
#6C721D
accent
#FB2DEC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07042F

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

Preview Lab → · Contrast checker → · Palette generator →

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