#071B47#071B47

#071B47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.087 H 262.9°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#071B47
RGBrgb(7, 27, 71)
HSLhsl(221, 82%, 15%)
HSVhsv(221, 90%, 28%)
CMYKcmyk(90.1%, 62%, 0%, 72.2%)
CIE-LABlab(11.16, 11.51, -29.79)
CIE-LCHlch(11.16, 31.94, 291.12°)
OKLaboklab(23.82% -0.0107 -0.086)
OKLCHoklch(23.82% 0.087 262.9)
XYZxyz(1.6165, 1.2838, 6.1226)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071B47 #473307
analogous
#073B47 #071B47 #130747
triadic
#071B47 #47071B #1B4707
tetradic
#071B47 #47073B #473307 #074713
square
#071B47 #47073B #473307 #074713
split-complementary
#071B47 #471307 #3B4707
monochromatic
#030B1C #030B1C #071B47 #0C307F #1245B6

Accessibility & contrast

On white

16.71
#071B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#071B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071B47
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071B47#FFFFFF#000000##FFFFFF
##071B471.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #071b47;
/* rgb */ color: rgb(7, 27, 71);
/* oklch */ color: oklch(23.8% 0.087 262.9);
Tailwind
colors: {
  custom: {
    50: '#54567b',
    500: '#071b47',
    950: '#000000',
  },
}
SCSS
$custom: #071b47;
$custom-light: #54567b;
$custom-dark: #000000;
JSON
{
  "hex": "#071b47",
  "rgb": {
    "r": 7,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 221.25,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.08667,
    "h": 262.9
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#071B47
secondary
#866724
accent
#BA2FF8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #071B47

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

Preview Lab → · Contrast checker → · Palette generator →

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