#071840#071840

#071840 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.080 H 263.6°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#071840
RGBrgb(7, 24, 64)
HSLhsl(222, 80%, 14%)
HSVhsv(222, 89%, 25%)
CMYKcmyk(89.1%, 62.5%, 0%, 74.9%)
CIE-LABlab(9.55, 10.64, -27.50)
CIE-LCHlch(9.55, 29.49, 291.16°)
OKLaboklab(22.4% -0.0089 -0.0793)
OKLCHoklch(22.4% 0.08 263.6)
XYZxyz(1.3393, 1.0684, 4.9851)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071840 #402F07
analogous
#073540 #071840 #130740
triadic
#071840 #400718 #184007
tetradic
#071840 #400735 #402F07 #074013
square
#071840 #400735 #402F07 #074013
split-complementary
#071840 #401307 #354007
monochromatic
#030A1C #030A1C #071840 #0D2D77 #1341AE

Accessibility & contrast

On white

17.30
#071840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071840
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071840#FFFFFF#000000##FFFFFF
##0718401.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #071840;
/* rgb */ color: rgb(7, 24, 64);
/* oklch */ color: oklch(22.4% 0.080 263.6);
Tailwind
colors: {
  custom: {
    50: '#525475',
    500: '#071840',
    950: '#000000',
  },
}
SCSS
$custom: #071840;
$custom-light: #525475;
$custom-dark: #000000;
JSON
{
  "hex": "#071840",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 222.105,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22404,
    "c": 0.07983,
    "h": 263.6
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#071840
secondary
#7F6424
accent
#BC31F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #071840

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

Preview Lab → · Contrast checker → · Palette generator →

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