#07042C#07042C

#07042C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.4% C 0.078 H 276.7°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#07042C
RGBrgb(7, 4, 44)
HSLhsl(245, 83%, 9%)
HSVhsv(245, 91%, 17%)
CMYKcmyk(84.1%, 90.9%, 0%, 82.7%)
CIE-LABlab(2.83, 11.77, -23.70)
CIE-LCHlch(2.83, 26.46, 296.41°)
OKLaboklab(15.45% 0.0091 -0.0777)
OKLCHoklch(15.45% 0.078 276.7)
XYZxyz(0.5855, 0.3138, 2.4121)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07042C #292C04
analogous
#04152C #07042C #1B042C
triadic
#07042C #2C0704 #042C07
tetradic
#07042C #2C0415 #292C04 #042C1B
square
#07042C #2C0415 #292C04 #042C1B
split-complementary
#07042C #2C1B04 #152C04
monochromatic
#04031C #04031C #07042C #100964 #190E9C

Accessibility & contrast

On white

19.76
#07042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#07042C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07042C
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07042C#FFFFFF#000000##FFFFFF
##07042C1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#00092B
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #07042c;
/* rgb */ color: rgb(7, 4, 44);
/* oklch */ color: oklch(15.4% 0.078 276.7);
Tailwind
colors: {
  custom: {
    50: '#4b4865',
    500: '#07042c',
    950: '#000000',
  },
}
SCSS
$custom: #07042c;
$custom-light: #4b4865;
$custom-dark: #000000;
JSON
{
  "hex": "#07042c",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 244.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15449,
    "c": 0.07825,
    "h": 276.7
  },
  "luminance": 0.00314
}

Semantic roles & 50–950 ramp

primary
#07042C
secondary
#696F1D
accent
#FA2EEA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #07042C

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

Preview Lab → · Contrast checker → · Palette generator →

#07042C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva