#071340#071340

#071340 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.087 H 266.7°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#071340
RGBrgb(7, 19, 64)
HSLhsl(227, 80%, 14%)
HSVhsv(227, 89%, 25%)
CMYKcmyk(89.1%, 70.3%, 0%, 74.9%)
CIE-LABlab(7.96, 14.62, -30.09)
CIE-LCHlch(7.96, 33.46, 295.91°)
OKLaboklab(21.21% -0.005 -0.087)
OKLCHoklch(21.21% 0.087 266.7)
XYZxyz(1.2456, 0.8809, 4.9539)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071340 #403407
analogous
#073040 #071340 #180740
triadic
#071340 #400713 #134007
tetradic
#071340 #400730 #403407 #074018
square
#071340 #400730 #403407 #074018
split-complementary
#071340 #401807 #304007
monochromatic
#03081C #03081C #071340 #0D2377 #1334AE

Accessibility & contrast

On white

17.85
#071340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071340
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071340#FFFFFF#000000##FFFFFF
##0713401.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071340;
/* rgb */ color: rgb(7, 19, 64);
/* oklch */ color: oklch(21.2% 0.087 266.7);
Tailwind
colors: {
  custom: {
    50: '#525075',
    500: '#071340',
    950: '#000000',
  },
}
SCSS
$custom: #071340;
$custom-light: #525075;
$custom-dark: #000000;
JSON
{
  "hex": "#071340",
  "rgb": {
    "r": 7,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 227.368,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21212,
    "c": 0.08718,
    "h": 266.7
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#071340
secondary
#7F6C24
accent
#CD31F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071340

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

Preview Lab → · Contrast checker → · Palette generator →

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