#071836#071836

#071836 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.5% C 0.063 H 260.6°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#071836
RGBrgb(7, 24, 54)
HSLhsl(218, 77%, 12%)
HSVhsv(218, 87%, 21%)
CMYKcmyk(87%, 55.6%, 0%, 78.8%)
CIE-LABlab(8.69, 5.97, -21.73)
CIE-LCHlch(8.69, 22.53, 285.35°)
OKLaboklab(21.48% -0.0104 -0.0623)
OKLCHoklch(21.48% 0.063 260.6)
XYZxyz(1.0799, 0.9647, 3.6186)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071836 #362507
analogous
#073036 #071836 #0E0736
triadic
#071836 #360718 #183607
tetradic
#071836 #360730 #362507 #07360E
square
#071836 #360730 #362507 #07360E
split-complementary
#071836 #360E07 #303607
monochromatic
#040C1B #040C1B #071836 #0E306C #1548A2

Accessibility & contrast

On white

17.60
#071836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#071836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071836
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071836#FFFFFF#000000##FFFFFF
##0718361.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B37
Deuteranopia (green-blind)
#011735
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071836;
/* rgb */ color: rgb(7, 24, 54);
/* oklch */ color: oklch(21.5% 0.063 260.6);
Tailwind
colors: {
  custom: {
    50: '#4e546d',
    500: '#071836',
    950: '#000000',
  },
}
SCSS
$custom: #071836;
$custom-light: #4e546d;
$custom-dark: #000000;
JSON
{
  "hex": "#071836",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 218.298,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2148,
    "c": 0.06321,
    "h": 260.6
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#071836
secondary
#765823
accent
#AE34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071836

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

Preview Lab → · Contrast checker → · Palette generator →

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