#07012F#07012F

#07012F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.089 H 277.1°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#07012F
RGBrgb(7, 1, 47)
HSLhsl(248, 96%, 9%)
HSVhsv(248, 98%, 18%)
CMYKcmyk(85.1%, 97.9%, 0%, 81.6%)
CIE-LABlab(2.46, 14.45, -26.56)
CIE-LCHlch(2.46, 30.24, 298.55°)
OKLaboklab(15.04% 0.011 -0.0879)
OKLCHoklch(15.04% 0.089 277.1)
XYZxyz(0.6114, 0.2721, 2.7091)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07012F #292F01
analogous
#01122F #07012F #1E012F
triadic
#07012F #2F0701 #012F07
tetradic
#07012F #2F0112 #292F01 #012F1E
square
#07012F #2F0112 #292F01 #012F1E
split-complementary
#07012F #2F1E01 #122F01
monochromatic
#04011E #04011E #07012F #10026B #1904A7

Accessibility & contrast

On white

19.92
#07012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07012F
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07012F#FFFFFF#000000##FFFFFF
##07012F1.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B30
Deuteranopia (green-blind)
#00072E
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #07012f;
/* rgb */ color: rgb(7, 1, 47);
/* oklch */ color: oklch(15.0% 0.089 277.1);
Tailwind
colors: {
  custom: {
    50: '#4b4768',
    500: '#07012f',
    950: '#000000',
  },
}
SCSS
$custom: #07012f;
$custom-light: #4b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#07012f",
  "rgb": {
    "r": 7,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 247.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15035,
    "c": 0.08864,
    "h": 277.1
  },
  "luminance": 0.00272
}

Semantic roles & 50–950 ramp

primary
#07012F
secondary
#697517
accent
#FF29E3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07012F

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

Preview Lab → · Contrast checker → · Palette generator →

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