#071336#071336

#071336 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.071 H 265.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#071336
RGBrgb(7, 19, 54)
HSLhsl(225, 77%, 12%)
HSVhsv(225, 87%, 21%)
CMYKcmyk(87%, 64.8%, 0%, 78.8%)
CIE-LABlab(7.02, 9.83, -24.43)
CIE-LCHlch(7.02, 26.33, 291.92°)
OKLaboklab(20.17% -0.0054 -0.0706)
OKLCHoklch(20.17% 0.071 265.7)
XYZxyz(0.9861, 0.7771, 3.5873)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071336 #362A07
analogous
#072B36 #071336 #130736
triadic
#071336 #360713 #133607
tetradic
#071336 #36072B #362A07 #073613
square
#071336 #36072B #362A07 #073613
split-complementary
#071336 #361307 #2B3607
monochromatic
#040A1B #040A1B #071336 #0E266C #1539A2

Accessibility & contrast

On white

18.18
#071336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#071336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071336
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071336#FFFFFF#000000##FFFFFF
##0713361.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #071336;
/* rgb */ color: rgb(7, 19, 54);
/* oklch */ color: oklch(20.2% 0.071 265.7);
Tailwind
colors: {
  custom: {
    50: '#4f506d',
    500: '#071336',
    950: '#000000',
  },
}
SCSS
$custom: #071336;
$custom-light: #4f506d;
$custom-dark: #000000;
JSON
{
  "hex": "#071336",
  "rgb": {
    "r": 7,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 224.681,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20173,
    "c": 0.07082,
    "h": 265.7
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#071336
secondary
#766123
accent
#C334F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071336

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

Preview Lab → · Contrast checker → · Palette generator →

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