#070837#070837

#070837 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.088 H 272.0°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#070837
RGBrgb(7, 8, 55)
HSLhsl(239, 77%, 12%)
HSVhsv(239, 87%, 22%)
CMYKcmyk(87.3%, 85.5%, 0%, 78.4%)
CIE-LABlab(4.47, 16.12, -29.28)
CIE-LCHlch(4.47, 33.42, 298.84°)
OKLaboklab(17.85% 0.0031 -0.0883)
OKLCHoklch(17.85% 0.088 272)
XYZxyz(0.8638, 0.4946, 3.6636)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070837 #373607
analogous
#072037 #070837 #1E0737
triadic
#070837 #370708 #083707
tetradic
#070837 #370720 #373607 #07371E
square
#070837 #370720 #373607 #07371E
split-complementary
#070837 #371E07 #203707
monochromatic
#03041B #03041B #070837 #0E106D #1518A4

Accessibility & contrast

On white

19.11
#070837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070837
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070837#FFFFFF#000000##FFFFFF
##0708371.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#000D36
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070837;
/* rgb */ color: rgb(7, 8, 55);
/* oklch */ color: oklch(17.8% 0.088 272.0);
Tailwind
colors: {
  custom: {
    50: '#4f496e',
    500: '#070837',
    950: '#000000',
  },
}
SCSS
$custom: #070837;
$custom-light: #4f496e;
$custom-dark: #000000;
JSON
{
  "hex": "#070837",
  "rgb": {
    "r": 7,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 238.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17846,
    "c": 0.08831,
    "h": 272
  },
  "luminance": 0.00495
}

Semantic roles & 50–950 ramp

primary
#070837
secondary
#777523
accent
#F034F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070837

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

Preview Lab → · Contrast checker → · Palette generator →

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