#07041B#07041B

#07041B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.3% C 0.051 H 285.2°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#07041B
RGBrgb(7, 4, 27)
HSLhsl(248, 74%, 6%)
HSVhsv(248, 85%, 11%)
CMYKcmyk(74.1%, 85.2%, 0%, 89.4%)
CIE-LABlab(1.91, 5.25, -11.83)
CIE-LCHlch(1.91, 12.94, 293.93°)
OKLaboklab(13.32% 0.0133 -0.0489)
OKLCHoklch(13.32% 0.051 285.2)
XYZxyz(0.3288, 0.2111, 1.0601)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07041B #181B04
analogous
#040C1B #07041B #12041B
triadic
#07041B #1B0704 #041B07
tetradic
#07041B #1B040C #181B04 #041B12
square
#07041B #1B040C #181B04 #041B12
split-complementary
#07041B #1B1204 #0C1B04
monochromatic
#07041B #07041B #07041B #150C50 #231486

Accessibility & contrast

On white

20.15
#07041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#07041B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07041B
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07041B#FFFFFF#000000##FFFFFF
##07041B1.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081C
Deuteranopia (green-blind)
#00061B
Tritanopia (blue-blind)
#02090D
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #07041b;
/* rgb */ color: rgb(7, 4, 27);
/* oklch */ color: oklch(13.3% 0.051 285.2);
Tailwind
colors: {
  custom: {
    50: '#494857',
    500: '#07041b',
    950: '#000000',
  },
}
SCSS
$custom: #07041b;
$custom-light: #494857;
$custom-dark: #000000;
JSON
{
  "hex": "#07041b",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 247.826,
    "s": 74.194,
    "l": 6.078
  },
  "oklch": {
    "l": 0.13316,
    "c": 0.05072,
    "h": 285.2
  },
  "luminance": 0.00211
}

Semantic roles & 50–950 ramp

primary
#07041B
secondary
#555D1E
accent
#F137D9
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #07041B

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

Preview Lab → · Contrast checker → · Palette generator →

#07041B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva