#071C3E#071C3E

#071C3E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.071 H 259.5°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#071C3E
RGBrgb(7, 28, 62)
HSLhsl(217, 80%, 14%)
HSVhsv(217, 89%, 24%)
CMYKcmyk(88.7%, 54.8%, 0%, 75.7%)
CIE-LABlab(10.73, 6.54, -24.18)
CIE-LCHlch(10.73, 25.04, 285.13°)
OKLaboklab(23.25% -0.0128 -0.0695)
OKLCHoklch(23.25% 0.071 259.5)
XYZxyz(1.3721, 1.2233, 4.7203)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071C3E #3E2907
analogous
#07373E #071C3E #0D073E
triadic
#071C3E #3E071C #1C3E07
tetradic
#071C3E #3E0737 #3E2907 #073E0D
square
#071C3E #3E0737 #3E2907 #073E0D
split-complementary
#071C3E #3E0D07 #373E07
monochromatic
#030C1B #030C1B #071C3E #0D3575 #134EAC

Accessibility & contrast

On white

16.87
#071C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071C3E
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071C3E#FFFFFF#000000##FFFFFF
##071C3E1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09203F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071c3e;
/* rgb */ color: rgb(7, 28, 62);
/* oklch */ color: oklch(23.2% 0.071 259.5);
Tailwind
colors: {
  custom: {
    50: '#515773',
    500: '#071c3e',
    950: '#000000',
  },
}
SCSS
$custom: #071c3e;
$custom-light: #515773;
$custom-dark: #000000;
JSON
{
  "hex": "#071c3e",
  "rgb": {
    "r": 7,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 217.091,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23248,
    "c": 0.07064,
    "h": 259.5
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#071C3E
secondary
#7D5B24
accent
#AB32F6
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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