#071942#071942

#071942 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.082 H 263.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#071942
RGBrgb(7, 25, 66)
HSLhsl(222, 81%, 14%)
HSVhsv(222, 89%, 26%)
CMYKcmyk(89.4%, 62.1%, 0%, 74.1%)
CIE-LABlab(10.06, 10.78, -28.08)
CIE-LCHlch(10.06, 30.08, 290.99°)
OKLaboklab(22.85% -0.0096 -0.081)
OKLCHoklch(22.85% 0.082 263.3)
XYZxyz(1.4183, 1.1336, 5.2973)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071942 #423007
analogous
#073742 #071942 #130742
triadic
#071942 #420719 #194207
tetradic
#071942 #420737 #423007 #074213
square
#071942 #420737 #423007 #074213
split-complementary
#071942 #421307 #374207
monochromatic
#030A1C #030A1C #071942 #0D2E79 #1343B1

Accessibility & contrast

On white

17.12
#071942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#071942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071942
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071942#FFFFFF#000000##FFFFFF
##0719421.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #071942;
/* rgb */ color: rgb(7, 25, 66);
/* oklch */ color: oklch(22.8% 0.082 263.3);
Tailwind
colors: {
  custom: {
    50: '#525577',
    500: '#071942',
    950: '#000000',
  },
}
SCSS
$custom: #071942;
$custom-light: #525577;
$custom-dark: #000000;
JSON
{
  "hex": "#071942",
  "rgb": {
    "r": 7,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 221.695,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22846,
    "c": 0.08159,
    "h": 263.3
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#071942
secondary
#816524
accent
#BB31F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071942

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

Preview Lab → · Contrast checker → · Palette generator →

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