#071937#071937

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

Color values

HEX#071937
RGBrgb(7, 25, 55)
HSLhsl(218, 77%, 12%)
HSVhsv(218, 87%, 22%)
CMYKcmyk(87.3%, 54.5%, 0%, 78.4%)
CIE-LABlab(9.12, 5.64, -21.76)
CIE-LCHlch(9.12, 22.47, 284.53°)
OKLaboklab(21.84% -0.0112 -0.0624)
OKLCHoklch(21.84% 0.063 259.8)
XYZxyz(1.1246, 1.0161, 3.7506)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071937 #372507
analogous
#073137 #071937 #0D0737
triadic
#071937 #370719 #193707
tetradic
#071937 #370731 #372507 #07370D
square
#071937 #370731 #372507 #07370D
split-complementary
#071937 #370D07 #313707
monochromatic
#030C1B #030C1B #071937 #0E326D #154AA4

Accessibility & contrast

On white

17.45
#071937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071937
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071937#FFFFFF#000000##FFFFFF
##0719371.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#011836
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071937;
/* rgb */ color: rgb(7, 25, 55);
/* oklch */ color: oklch(21.8% 0.063 259.8);
Tailwind
colors: {
  custom: {
    50: '#4f556e',
    500: '#071937',
    950: '#000000',
  },
}
SCSS
$custom: #071937;
$custom-light: #4f556e;
$custom-dark: #000000;
JSON
{
  "hex": "#071937",
  "rgb": {
    "r": 7,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 217.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21837,
    "c": 0.06341,
    "h": 259.8
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#071937
secondary
#775723
accent
#AC34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071937

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

Preview Lab → · Contrast checker → · Palette generator →

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