#07062E#07062E

#07062E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.078 H 274.8°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#07062E
RGBrgb(7, 6, 46)
HSLhsl(242, 77%, 10%)
HSVhsv(242, 87%, 18%)
CMYKcmyk(84.8%, 87%, 0%, 82%)
CIE-LABlab(3.37, 11.94, -24.37)
CIE-LCHlch(3.37, 27.14, 296.11°)
OKLaboklab(16.24% 0.0065 -0.0773)
OKLCHoklch(16.24% 0.078 274.8)
XYZxyz(0.6457, 0.3726, 2.6221)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07062E #2D2E06
analogous
#06192E #07062E #1B062E
triadic
#07062E #2E0706 #062E07
tetradic
#07062E #2E0619 #2D2E06 #062E1B
square
#07062E #2E0619 #2D2E06 #062E1B
split-complementary
#07062E #2E1B06 #192E06
monochromatic
#04041B #04041B #07062E #0F0D64 #17149A

Accessibility & contrast

On white

19.54
#07062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#07062E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07062E
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07062E#FFFFFF#000000##FFFFFF
##07062E1.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #07062e;
/* rgb */ color: rgb(7, 6, 46);
/* oklch */ color: oklch(16.2% 0.078 274.8);
Tailwind
colors: {
  custom: {
    50: '#4b4967',
    500: '#07062e',
    950: '#000000',
  },
}
SCSS
$custom: #07062e;
$custom-light: #4b4967;
$custom-dark: #000000;
JSON
{
  "hex": "#07062e",
  "rgb": {
    "r": 7,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 241.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16235,
    "c": 0.07762,
    "h": 274.8
  },
  "luminance": 0.00373
}

Semantic roles & 50–950 ramp

primary
#07062E
secondary
#6D6F21
accent
#F334EF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #07062E

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

Preview Lab → · Contrast checker → · Palette generator →

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