#070937#070937

#070937 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.087 H 271.6°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#070937
RGBrgb(7, 9, 55)
HSLhsl(238, 77%, 12%)
HSVhsv(238, 87%, 22%)
CMYKcmyk(87.3%, 83.6%, 0%, 78.4%)
CIE-LABlab(4.66, 15.71, -28.96)
CIE-LCHlch(4.66, 32.95, 298.48°)
OKLaboklab(18.05% 0.0024 -0.0869)
OKLCHoklch(18.05% 0.087 271.6)
XYZxyz(0.8747, 0.5163, 3.6672)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070937 #373507
analogous
#072137 #070937 #1D0737
triadic
#070937 #370709 #093707
tetradic
#070937 #370721 #373507 #07371D
square
#070937 #370721 #373507 #07371D
split-complementary
#070937 #371D07 #213707
monochromatic
#03041B #03041B #070937 #0E126D #151BA4

Accessibility & contrast

On white

19.04
#070937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070937
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070937#FFFFFF#000000##FFFFFF
##0709371.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#000E36
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070937;
/* rgb */ color: rgb(7, 9, 55);
/* oklch */ color: oklch(18.0% 0.087 271.6);
Tailwind
colors: {
  custom: {
    50: '#4f4a6e',
    500: '#070937',
    950: '#000000',
  },
}
SCSS
$custom: #070937;
$custom-light: #4f4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#070937",
  "rgb": {
    "r": 7,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 237.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18049,
    "c": 0.08692,
    "h": 271.6
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#070937
secondary
#777323
accent
#EC34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070937

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

Preview Lab → · Contrast checker → · Palette generator →

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