#071837#071837

#071837 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.065 H 261.0°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#071837
RGBrgb(7, 24, 55)
HSLhsl(219, 77%, 12%)
HSVhsv(219, 87%, 22%)
CMYKcmyk(87.3%, 56.4%, 0%, 78.4%)
CIE-LABlab(8.77, 6.43, -22.32)
CIE-LCHlch(8.77, 23.23, 286.08°)
OKLaboklab(21.57% -0.0102 -0.0641)
OKLCHoklch(21.57% 0.065 261)
XYZxyz(1.1036, 0.9742, 3.7436)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071837 #372607
analogous
#073037 #071837 #0E0737
triadic
#071837 #370718 #183707
tetradic
#071837 #370730 #372607 #07370E
square
#071837 #370730 #372607 #07370E
split-complementary
#071837 #370E07 #303707
monochromatic
#030C1B #030C1B #071837 #0E306D #1547A4

Accessibility & contrast

On white

17.58
#071837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071837
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071837#FFFFFF#000000##FFFFFF
##0718371.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B38
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071837;
/* rgb */ color: rgb(7, 24, 55);
/* oklch */ color: oklch(21.6% 0.065 261.0);
Tailwind
colors: {
  custom: {
    50: '#4f546e',
    500: '#071837',
    950: '#000000',
  },
}
SCSS
$custom: #071837;
$custom-light: #4f546e;
$custom-dark: #000000;
JSON
{
  "hex": "#071837",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 218.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21568,
    "c": 0.0649,
    "h": 261
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#071837
secondary
#775923
accent
#B034F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071837

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

Preview Lab → · Contrast checker → · Palette generator →

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