#07062F#07062F

#07062F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.079 H 274.6°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#07062F
RGBrgb(7, 6, 47)
HSLhsl(241, 77%, 10%)
HSVhsv(241, 87%, 18%)
CMYKcmyk(85.1%, 87.2%, 0%, 81.6%)
CIE-LABlab(3.44, 12.45, -25.00)
CIE-LCHlch(3.44, 27.93, 296.47°)
OKLaboklab(16.36% 0.0063 -0.0789)
OKLCHoklch(16.36% 0.079 274.6)
XYZxyz(0.6657, 0.3806, 2.7272)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07062F #2E2F06
analogous
#06192F #07062F #1B062F
triadic
#07062F #2F0706 #062F07
tetradic
#07062F #2F0619 #2E2F06 #062F1B
square
#07062F #2F0619 #2E2F06 #062F1B
split-complementary
#07062F #2F1B06 #192F06
monochromatic
#04031B #04031B #07062F #0F0D65 #17149C

Accessibility & contrast

On white

19.51
#07062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07062F
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07062F#FFFFFF#000000##FFFFFF
##07062F1.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #07062f;
/* rgb */ color: rgb(7, 6, 47);
/* oklch */ color: oklch(16.4% 0.079 274.6);
Tailwind
colors: {
  custom: {
    50: '#4c4968',
    500: '#07062f',
    950: '#000000',
  },
}
SCSS
$custom: #07062f;
$custom-light: #4c4968;
$custom-dark: #000000;
JSON
{
  "hex": "#07062f",
  "rgb": {
    "r": 7,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 241.463,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16364,
    "c": 0.07917,
    "h": 274.6
  },
  "luminance": 0.00381
}

Semantic roles & 50–950 ramp

primary
#07062F
secondary
#6E7021
accent
#F434EF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07062F

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

Preview Lab → · Contrast checker → · Palette generator →

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