#072046#072046

#072046 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.078 H 258.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#072046
RGBrgb(7, 32, 70)
HSLhsl(216, 82%, 15%)
HSVhsv(216, 90%, 27%)
CMYKcmyk(90%, 54.3%, 0%, 72.5%)
CIE-LABlab(12.74, 7.13, -26.55)
CIE-LCHlch(12.74, 27.49, 285.04°)
OKLaboklab(25% -0.0151 -0.0763)
OKLCHoklch(25% 0.078 258.8)
XYZxyz(1.7092, 1.5202, 5.9965)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072046 #462D07
analogous
#074046 #072046 #0D0746
triadic
#072046 #460720 #204607
tetradic
#072046 #460740 #462D07 #07460D
square
#072046 #460740 #462D07 #07460D
split-complementary
#072046 #460D07 #404607
monochromatic
#030D1C #030D1C #072046 #0D397E #1253B5

Accessibility & contrast

On white

16.10
#072046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#072046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072046
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072046#FFFFFF#000000##FFFFFF
##0720461.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #072046;
/* rgb */ color: rgb(7, 32, 70);
/* oklch */ color: oklch(25.0% 0.078 258.8);
Tailwind
colors: {
  custom: {
    50: '#535a7a',
    500: '#072046',
    950: '#000000',
  },
}
SCSS
$custom: #072046;
$custom-light: #535a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#072046",
  "rgb": {
    "r": 7,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 216.19,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24995,
    "c": 0.07783,
    "h": 258.8
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#072046
secondary
#855E24
accent
#A930F8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #072046

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

Preview Lab → · Contrast checker → · Palette generator →

#072046 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva