#071B41#071B41

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

Color values

HEX#071B41
RGBrgb(7, 27, 65)
HSLhsl(219, 81%, 14%)
HSVhsv(219, 89%, 25%)
CMYKcmyk(89.2%, 58.5%, 0%, 74.5%)
CIE-LABlab(10.63, 8.72, -26.45)
CIE-LCHlch(10.63, 27.85, 288.26°)
OKLaboklab(23.26% -0.0114 -0.0762)
OKLCHoklch(23.26% 0.077 261.5)
XYZxyz(1.4333, 1.2105, 5.1581)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071B41 #412D07
analogous
#073841 #071B41 #100741
triadic
#071B41 #41071B #1B4107
tetradic
#071B41 #410738 #412D07 #074110
square
#071B41 #410738 #412D07 #074110
split-complementary
#071B41 #411007 #384107
monochromatic
#030B1C #030B1C #071B41 #0D3278 #1349B0

Accessibility & contrast

On white

16.91
#071B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071B41
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071B41#FFFFFF#000000##FFFFFF
##071B411.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032042
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071b41;
/* rgb */ color: rgb(7, 27, 65);
/* oklch */ color: oklch(23.3% 0.077 261.5);
Tailwind
colors: {
  custom: {
    50: '#525676',
    500: '#071b41',
    950: '#000000',
  },
}
SCSS
$custom: #071b41;
$custom-light: #525676;
$custom-dark: #000000;
JSON
{
  "hex": "#071b41",
  "rgb": {
    "r": 7,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 219.31,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23256,
    "c": 0.07702,
    "h": 261.5
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#071B41
secondary
#806024
accent
#B331F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071B41

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

Preview Lab → · Contrast checker → · Palette generator →

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