#071A36#071A36

#071A36 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.0% C 0.060 H 258.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#071A36
RGBrgb(7, 26, 54)
HSLhsl(216, 77%, 12%)
HSVhsv(216, 87%, 21%)
CMYKcmyk(87%, 51.9%, 0%, 78.8%)
CIE-LABlab(9.40, 4.37, -20.59)
CIE-LCHlch(9.40, 21.05, 281.99°)
OKLaboklab(22.03% -0.0125 -0.059)
OKLCHoklch(22.03% 0.06 258)
XYZxyz(1.1226, 1.0502, 3.6329)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A36 #362307
analogous
#073236 #071A36 #0C0736
triadic
#071A36 #36071A #1A3607
tetradic
#071A36 #360732 #362307 #07360C
square
#071A36 #360732 #362307 #07360C
split-complementary
#071A36 #360C07 #323607
monochromatic
#040D1B #040D1B #071A36 #0E346C #154EA2

Accessibility & contrast

On white

17.36
#071A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071A36
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A36#FFFFFF#000000##FFFFFF
##071A361.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1D37
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071a36;
/* rgb */ color: rgb(7, 26, 54);
/* oklch */ color: oklch(22.0% 0.060 258.0);
Tailwind
colors: {
  custom: {
    50: '#4e566d',
    500: '#071a36',
    950: '#000000',
  },
}
SCSS
$custom: #071a36;
$custom-light: #4e566d;
$custom-dark: #000000;
JSON
{
  "hex": "#071a36",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 215.745,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22026,
    "c": 0.06027,
    "h": 258
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#071A36
secondary
#765423
accent
#A634F4
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#020307
muted
#78787A

Preview Lab

Preview with #071A36

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

Preview Lab → · Contrast checker → · Palette generator →

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