#071936#071936

#071936 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.062 H 259.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#071936
RGBrgb(7, 25, 54)
HSLhsl(217, 77%, 12%)
HSVhsv(217, 87%, 21%)
CMYKcmyk(87%, 53.7%, 0%, 78.8%)
CIE-LABlab(9.05, 5.17, -21.16)
CIE-LCHlch(9.05, 21.78, 283.72°)
OKLaboklab(21.75% -0.0114 -0.0607)
OKLCHoklch(21.75% 0.062 259.3)
XYZxyz(1.1009, 1.0067, 3.6256)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071936 #362407
analogous
#073136 #071936 #0D0736
triadic
#071936 #360719 #193607
tetradic
#071936 #360731 #362407 #07360D
square
#071936 #360731 #362407 #07360D
split-complementary
#071936 #360D07 #313607
monochromatic
#040D1B #040D1B #071936 #0E326C #154BA2

Accessibility & contrast

On white

17.48
#071936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#071936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071936
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071936#FFFFFF#000000##FFFFFF
##0719361.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C37
Deuteranopia (green-blind)
#021835
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071936;
/* rgb */ color: rgb(7, 25, 54);
/* oklch */ color: oklch(21.8% 0.062 259.3);
Tailwind
colors: {
  custom: {
    50: '#4e556d',
    500: '#071936',
    950: '#000000',
  },
}
SCSS
$custom: #071936;
$custom-light: #4e556d;
$custom-dark: #000000;
JSON
{
  "hex": "#071936",
  "rgb": {
    "r": 7,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 217.021,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21752,
    "c": 0.06173,
    "h": 259.3
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#071936
secondary
#765623
accent
#AA34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071936

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

Preview Lab → · Contrast checker → · Palette generator →

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