#07072F#07072F

#07072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.077 H 274.0°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#07072F
RGBrgb(7, 7, 47)
HSLhsl(240, 74%, 11%)
HSVhsv(240, 85%, 18%)
CMYKcmyk(85.1%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.63, 12.05, -24.69)
CIE-LCHlch(3.63, 27.47, 296.01°)
OKLaboklab(16.61% 0.0054 -0.0773)
OKLCHoklch(16.61% 0.077 274)
XYZxyz(0.6765, 0.4023, 2.7308)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07072F #2F2F07
analogous
#071B2F #07072F #1B072F
triadic
#07072F #2F0707 #072F07
tetradic
#07072F #2F071B #2F2F07 #072F1B
square
#07072F #2F071B #2F2F07 #072F1B
split-complementary
#07072F #2F1B07 #1B2F07
monochromatic
#04041B #04041B #07072F #0F0F64 #17179A

Accessibility & contrast

On white

19.44
#07072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#07072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07072F
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07072F#FFFFFF#000000##FFFFFF
##07072F1.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #07072f;
/* rgb */ color: rgb(7, 7, 47);
/* oklch */ color: oklch(16.6% 0.077 274.0);
Tailwind
colors: {
  custom: {
    50: '#4c4968',
    500: '#07072f',
    950: '#000000',
  },
}
SCSS
$custom: #07072f;
$custom-light: #4c4968;
$custom-dark: #000000;
JSON
{
  "hex": "#07072f",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16605,
    "c": 0.07749,
    "h": 274
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#07072F
secondary
#6F6F23
accent
#F137F1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07072F

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

Preview Lab → · Contrast checker → · Palette generator →

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