#071839#071839

#071839 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.068 H 261.7°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#071839
RGBrgb(7, 24, 57)
HSLhsl(220, 78%, 13%)
HSVhsv(220, 88%, 22%)
CMYKcmyk(87.7%, 57.9%, 0%, 77.6%)
CIE-LABlab(8.94, 7.37, -23.49)
CIE-LCHlch(8.94, 24.62, 287.43°)
OKLaboklab(21.75% -0.0098 -0.0675)
OKLCHoklch(21.75% 0.068 261.7)
XYZxyz(1.1525, 0.9937, 4.0012)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071839 #392807
analogous
#073139 #071839 #0F0739
triadic
#071839 #390718 #183907
tetradic
#071839 #390731 #392807 #07390F
square
#071839 #390731 #392807 #07390F
split-complementary
#071839 #390F07 #313907
monochromatic
#030B1B #030B1B #071839 #0E2F70 #1446A6

Accessibility & contrast

On white

17.52
#071839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071839
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071839#FFFFFF#000000##FFFFFF
##0718391.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071839;
/* rgb */ color: rgb(7, 24, 57);
/* oklch */ color: oklch(21.7% 0.068 261.7);
Tailwind
colors: {
  custom: {
    50: '#4f5470',
    500: '#071839',
    950: '#000000',
  },
}
SCSS
$custom: #071839;
$custom-light: #4f5470;
$custom-dark: #000000;
JSON
{
  "hex": "#071839",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 219.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21746,
    "c": 0.06826,
    "h": 261.7
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#071839
secondary
#795C23
accent
#B333F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071839

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

Preview Lab → · Contrast checker → · Palette generator →

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