#071E40#071E40

#071E40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.071 H 258.3°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#071E40
RGBrgb(7, 30, 64)
HSLhsl(216, 80%, 14%)
HSVhsv(216, 89%, 25%)
CMYKcmyk(89.1%, 53.1%, 0%, 74.9%)
CIE-LABlab(11.58, 5.90, -24.22)
CIE-LCHlch(11.58, 24.93, 283.70°)
OKLaboklab(23.95% -0.0144 -0.0695)
OKLCHoklch(23.95% 0.071 258.3)
XYZxyz(1.4770, 1.3437, 5.0310)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071E40 #402907
analogous
#073B40 #071E40 #0C0740
triadic
#071E40 #40071E #1E4007
tetradic
#071E40 #40073B #402907 #07400C
square
#071E40 #40073B #402907 #07400C
split-complementary
#071E40 #400C07 #3B4007
monochromatic
#030D1C #030D1C #071E40 #0D3877 #1352AE

Accessibility & contrast

On white

16.55
#071E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#071E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071E40
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071E40#FFFFFF#000000##FFFFFF
##071E401.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#011C3F
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071e40;
/* rgb */ color: rgb(7, 30, 64);
/* oklch */ color: oklch(24.0% 0.071 258.3);
Tailwind
colors: {
  custom: {
    50: '#515975',
    500: '#071e40',
    950: '#000000',
  },
}
SCSS
$custom: #071e40;
$custom-light: #515975;
$custom-dark: #000000;
JSON
{
  "hex": "#071e40",
  "rgb": {
    "r": 7,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 215.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23953,
    "c": 0.07102,
    "h": 258.3
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#071E40
secondary
#7F5A24
accent
#A731F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071E40

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

Preview Lab → · Contrast checker → · Palette generator →

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