#07012A#07012A

#07012A is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.3% C 0.082 H 279.4°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#07012A
RGBrgb(7, 1, 42)
HSLhsl(249, 95%, 8%)
HSVhsv(249, 98%, 16%)
CMYKcmyk(83.3%, 97.6%, 0%, 83.5%)
CIE-LABlab(2.11, 12.04, -23.31)
CIE-LCHlch(2.11, 26.23, 297.32°)
OKLaboklab(14.27% 0.0134 -0.0808)
OKLCHoklch(14.27% 0.082 279.4)
XYZxyz(0.5163, 0.2340, 2.2080)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07012A #242A01
analogous
#010F2A #07012A #1B012A
triadic
#07012A #2A0701 #012A07
tetradic
#07012A #2A010F #242A01 #012A1B
square
#07012A #2A010F #242A01 #012A1B
split-complementary
#07012A #2A1B01 #0F2A01
monochromatic
#05011E #05011E #07012A #110266 #1B04A2

Accessibility & contrast

On white

20.06
#07012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07012A
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07012A#FFFFFF#000000##FFFFFF
##07012A1.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092B
Deuteranopia (green-blind)
#000629
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #07012a;
/* rgb */ color: rgb(7, 1, 42);
/* oklch */ color: oklch(14.3% 0.082 279.4);
Tailwind
colors: {
  custom: {
    50: '#4a4764',
    500: '#07012a',
    950: '#000000',
  },
}
SCSS
$custom: #07012a;
$custom-light: #4a4764;
$custom-dark: #000000;
JSON
{
  "hex": "#07012a",
  "rgb": {
    "r": 7,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 248.78,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14275,
    "c": 0.08187,
    "h": 279.4
  },
  "luminance": 0.00234
}

Semantic roles & 50–950 ramp

primary
#07012A
secondary
#637016
accent
#FF29E0
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #07012A

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

Preview Lab → · Contrast checker → · Palette generator →

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