#072146#072146

#072146 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.076 H 257.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#072146
RGBrgb(7, 33, 70)
HSLhsl(215, 82%, 15%)
HSVhsv(215, 90%, 27%)
CMYKcmyk(90%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.08, 6.36, -26.00)
CIE-LCHlch(13.08, 26.77, 283.75°)
OKLaboklab(25.26% -0.016 -0.0747)
OKLCHoklch(25.26% 0.076 257.9)
XYZxyz(1.7366, 1.5749, 6.0056)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072146 #462C07
analogous
#074046 #072146 #0C0746
triadic
#072146 #460721 #214607
tetradic
#072146 #460740 #462C07 #07460C
square
#072146 #460740 #462C07 #07460C
split-complementary
#072146 #460C07 #404607
monochromatic
#030D1C #030D1C #072146 #0D3B7E #1255B5

Accessibility & contrast

On white

15.97
#072146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#072146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072146
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072146#FFFFFF#000000##FFFFFF
##0721461.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #072146;
/* rgb */ color: rgb(7, 33, 70);
/* oklch */ color: oklch(25.3% 0.076 257.9);
Tailwind
colors: {
  custom: {
    50: '#535b7a',
    500: '#072146',
    950: '#000000',
  },
}
SCSS
$custom: #072146;
$custom-light: #535b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#072146",
  "rgb": {
    "r": 7,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 215.238,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25257,
    "c": 0.07641,
    "h": 257.9
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#072146
secondary
#855D24
accent
#A530F8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #072146

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

Preview Lab → · Contrast checker → · Palette generator →

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