#07012E#07012E

#07012E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.087 H 277.6°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#07012E
RGBrgb(7, 1, 46)
HSLhsl(248, 96%, 9%)
HSVhsv(248, 98%, 18%)
CMYKcmyk(84.8%, 97.8%, 0%, 82%)
CIE-LABlab(2.39, 13.95, -25.92)
CIE-LCHlch(2.39, 29.44, 298.28°)
OKLaboklab(14.88% 0.0115 -0.0865)
OKLCHoklch(14.88% 0.087 277.6)
XYZxyz(0.5915, 0.2641, 2.6040)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07012E #282E01
analogous
#01122E #07012E #1E012E
triadic
#07012E #2E0701 #012E07
tetradic
#07012E #2E0112 #282E01 #012E1E
square
#07012E #2E0112 #282E01 #012E1E
split-complementary
#07012E #2E1E01 #122E01
monochromatic
#05011E #05011E #07012E #10026A #1904A6

Accessibility & contrast

On white

19.95
#07012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07012E
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07012E#FFFFFF#000000##FFFFFF
##07012E1.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2F
Deuteranopia (green-blind)
#00072D
Tritanopia (blue-blind)
#000D17
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #07012e;
/* rgb */ color: rgb(7, 1, 46);
/* oklch */ color: oklch(14.9% 0.087 277.6);
Tailwind
colors: {
  custom: {
    50: '#4b4767',
    500: '#07012e',
    950: '#000000',
  },
}
SCSS
$custom: #07012e;
$custom-light: #4b4767;
$custom-dark: #000000;
JSON
{
  "hex": "#07012e",
  "rgb": {
    "r": 7,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 248,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.14882,
    "c": 0.08729,
    "h": 277.6
  },
  "luminance": 0.00264
}

Semantic roles & 50–950 ramp

primary
#07012E
secondary
#687417
accent
#FF29E2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07012E

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

Preview Lab → · Contrast checker → · Palette generator →

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