#072147#072147

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

Color values

HEX#072147
RGBrgb(7, 33, 71)
HSLhsl(216, 82%, 15%)
HSVhsv(216, 90%, 28%)
CMYKcmyk(90.1%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.15, 6.82, -26.57)
CIE-LCHlch(13.15, 27.43, 284.41°)
OKLaboklab(25.34% -0.0158 -0.0764)
OKLCHoklch(25.34% 0.078 258.3)
XYZxyz(1.7684, 1.5876, 6.1732)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072147 #472D07
analogous
#074147 #072147 #0D0747
triadic
#072147 #470721 #214707
tetradic
#072147 #470741 #472D07 #07470D
square
#072147 #470741 #472D07 #07470D
split-complementary
#072147 #470D07 #414707
monochromatic
#030D1C #030D1C #072147 #0C3B7F #1255B6

Accessibility & contrast

On white

15.94
#072147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072147
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072147#FFFFFF#000000##FFFFFF
##0721471.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #072147;
/* rgb */ color: rgb(7, 33, 71);
/* oklch */ color: oklch(25.3% 0.078 258.3);
Tailwind
colors: {
  custom: {
    50: '#535b7a',
    500: '#072147',
    950: '#000000',
  },
}
SCSS
$custom: #072147;
$custom-light: #535b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#072147",
  "rgb": {
    "r": 7,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 215.625,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25342,
    "c": 0.078,
    "h": 258.3
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#072147
secondary
#865E24
accent
#A72FF8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #072147

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

Preview Lab → · Contrast checker → · Palette generator →

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