#071639#071639

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

Color values

HEX#071639
RGBrgb(7, 22, 57)
HSLhsl(222, 78%, 13%)
HSVhsv(222, 88%, 22%)
CMYKcmyk(87.7%, 61.4%, 0%, 77.6%)
CIE-LABlab(8.26, 8.98, -24.60)
CIE-LCHlch(8.26, 26.19, 290.06°)
OKLaboklab(21.23% -0.0079 -0.0708)
OKLCHoklch(21.23% 0.071 263.6)
XYZxyz(1.1128, 0.9143, 3.9879)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071639 #392A07
analogous
#072F39 #071639 #110739
triadic
#071639 #390716 #163907
tetradic
#071639 #39072F #392A07 #073911
square
#071639 #39072F #392A07 #073911
split-complementary
#071639 #391107 #2F3907
monochromatic
#030B1B #030B1B #071639 #0E2B70 #1440A6

Accessibility & contrast

On white

17.75
#071639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071639
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071639#FFFFFF#000000##FFFFFF
##0716391.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #071639;
/* rgb */ color: rgb(7, 22, 57);
/* oklch */ color: oklch(21.2% 0.071 263.6);
Tailwind
colors: {
  custom: {
    50: '#4f5270',
    500: '#071639',
    950: '#000000',
  },
}
SCSS
$custom: #071639;
$custom-light: #4f5270;
$custom-dark: #000000;
JSON
{
  "hex": "#071639",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 222,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21226,
    "c": 0.07129,
    "h": 263.6
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#071639
secondary
#795F23
accent
#BB33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071639

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

Preview Lab → · Contrast checker → · Palette generator →

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