#071A44#071A44

#071A44 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.083 H 263.0°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#071A44
RGBrgb(7, 26, 68)
HSLhsl(221, 81%, 15%)
HSVhsv(221, 90%, 27%)
CMYKcmyk(89.7%, 61.8%, 0%, 73.3%)
CIE-LABlab(10.57, 10.91, -28.67)
CIE-LCHlch(10.57, 30.67, 290.84°)
OKLaboklab(23.29% -0.0102 -0.0827)
OKLCHoklch(23.29% 0.083 263)
XYZxyz(1.5000, 1.2011, 5.6205)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A44 #443107
analogous
#073944 #071A44 #120744
triadic
#071A44 #44071A #1A4407
tetradic
#071A44 #440739 #443107 #074412
square
#071A44 #440739 #443107 #074412
split-complementary
#071A44 #441207 #394407
monochromatic
#030B1C #030B1C #071A44 #0D2F7B #1244B3

Accessibility & contrast

On white

16.93
#071A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#071A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071A44
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A44#FFFFFF#000000##FFFFFF
##071A441.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002045
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071a44;
/* rgb */ color: rgb(7, 26, 68);
/* oklch */ color: oklch(23.3% 0.083 263.0);
Tailwind
colors: {
  custom: {
    50: '#535578',
    500: '#071a44',
    950: '#000000',
  },
}
SCSS
$custom: #071a44;
$custom-light: #535578;
$custom-dark: #000000;
JSON
{
  "hex": "#071a44",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 221.311,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23286,
    "c": 0.08335,
    "h": 263
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#071A44
secondary
#836524
accent
#BA30F8
background
#F5F4F7
surface
#E8E8ED
border
#C4C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #071A44

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

Preview Lab → · Contrast checker → · Palette generator →

#071A44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva