#07062B#07062B

#07062B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 15.9% C 0.073 H 275.7°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#07062B
RGBrgb(7, 6, 43)
HSLhsl(242, 76%, 10%)
HSVhsv(242, 86%, 17%)
CMYKcmyk(83.7%, 86%, 0%, 83.1%)
CIE-LABlab(3.16, 10.49, -22.42)
CIE-LCHlch(3.16, 24.76, 295.07°)
OKLaboklab(15.85% 0.0072 -0.0725)
OKLCHoklch(15.85% 0.073 275.7)
XYZxyz(0.5886, 0.3498, 2.3215)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07062B #2A2B06
analogous
#06182B #07062B #1A062B
triadic
#07062B #2B0706 #062B07
tetradic
#07062B #2B0618 #2A2B06 #062B1A
square
#07062B #2B0618 #2A2B06 #062B1A
split-complementary
#07062B #2B1A06 #182B06
monochromatic
#04041B #04041B #07062B #100D61 #181596

Accessibility & contrast

On white

19.63
#07062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07062B
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07062B#FFFFFF#000000##FFFFFF
##07062B1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #07062b;
/* rgb */ color: rgb(7, 6, 43);
/* oklch */ color: oklch(15.9% 0.073 275.7);
Tailwind
colors: {
  custom: {
    50: '#4b4964',
    500: '#07062b',
    950: '#000000',
  },
}
SCSS
$custom: #07062b;
$custom-light: #4b4964;
$custom-dark: #000000;
JSON
{
  "hex": "#07062b",
  "rgb": {
    "r": 7,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 241.622,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15854,
    "c": 0.07287,
    "h": 275.7
  },
  "luminance": 0.0035
}

Semantic roles & 50–950 ramp

primary
#07062B
secondary
#6A6C21
accent
#F236ED
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #07062B

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

Preview Lab → · Contrast checker → · Palette generator →

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