#071B3E#071B3E

#071B3E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.072 H 260.5°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#071B3E
RGBrgb(7, 27, 62)
HSLhsl(218, 80%, 14%)
HSVhsv(218, 89%, 24%)
CMYKcmyk(88.7%, 56.5%, 0%, 75.7%)
CIE-LABlab(10.38, 7.32, -24.73)
CIE-LCHlch(10.38, 25.79, 286.50°)
OKLaboklab(22.98% -0.0119 -0.0711)
OKLCHoklch(22.98% 0.072 260.5)
XYZxyz(1.3487, 1.1767, 4.7125)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071B3E #3E2A07
analogous
#07363E #071B3E #0E073E
triadic
#071B3E #3E071B #1B3E07
tetradic
#071B3E #3E0736 #3E2A07 #073E0E
square
#071B3E #3E0736 #3E2A07 #073E0E
split-complementary
#071B3E #3E0E07 #363E07
monochromatic
#030C1B #030C1B #071B3E #0D3375 #134BAC

Accessibility & contrast

On white

17.00
#071B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071B3E
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071B3E#FFFFFF#000000##FFFFFF
##071B3E1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #071b3e;
/* rgb */ color: rgb(7, 27, 62);
/* oklch */ color: oklch(23.0% 0.072 260.5);
Tailwind
colors: {
  custom: {
    50: '#515673',
    500: '#071b3e',
    950: '#000000',
  },
}
SCSS
$custom: #071b3e;
$custom-light: #515673;
$custom-dark: #000000;
JSON
{
  "hex": "#071b3e",
  "rgb": {
    "r": 7,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 218.182,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22984,
    "c": 0.07211,
    "h": 260.5
  },
  "luminance": 0.01177
}

Semantic roles & 50–950 ramp

primary
#071B3E
secondary
#7D5D24
accent
#AF32F6
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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