#07051F#07051F

#07051F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.1% C 0.055 H 281.2°. Best body text is #FFFFFF at 19.99:1 contrast (WCAG AA passes).

Color values

HEX#07051F
RGBrgb(7, 5, 31)
HSLhsl(245, 72%, 7%)
HSVhsv(245, 84%, 12%)
CMYKcmyk(77.4%, 83.9%, 0%, 87.8%)
CIE-LABlab(2.28, 6.10, -14.47)
CIE-LCHlch(2.28, 15.71, 292.87°)
OKLaboklab(14.12% 0.0107 -0.0539)
OKLCHoklch(14.12% 0.055 281.2)
XYZxyz(0.3891, 0.2526, 1.3243)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07051F #1D1F05
analogous
#05101F #07051F #14051F
triadic
#07051F #1F0705 #051F07
tetradic
#07051F #1F0510 #1D1F05 #051F14
square
#07051F #1F0510 #1D1F05 #051F14
split-complementary
#07051F #1F1405 #101F05
monochromatic
#06041A #06041A #07051F #130E54 #1F1688

Accessibility & contrast

On white

19.99
#07051F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#07051F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07051F
19.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07051F#FFFFFF#000000##FFFFFF
##07051F1.0019.991.0519.99
#FFFFFF19.991.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000920
Deuteranopia (green-blind)
#00071E
Tritanopia (blue-blind)
#000B10
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #07051f;
/* rgb */ color: rgb(7, 5, 31);
/* oklch */ color: oklch(14.1% 0.055 281.2);
Tailwind
colors: {
  custom: {
    50: '#49495a',
    500: '#07051f',
    950: '#000000',
  },
}
SCSS
$custom: #07051f;
$custom-light: #49495a;
$custom-dark: #000000;
JSON
{
  "hex": "#07051f",
  "rgb": {
    "r": 7,
    "g": 5,
    "b": 31
  },
  "hsl": {
    "h": 244.615,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.14118,
    "c": 0.055,
    "h": 281.2
  },
  "luminance": 0.00253
}

Semantic roles & 50–950 ramp

primary
#07051F
secondary
#5B6020
accent
#EF39E1
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #07051F

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

Preview Lab → · Contrast checker → · Palette generator →

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