#071842#071842

#071842 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.083 H 264.0°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#071842
RGBrgb(7, 24, 66)
HSLhsl(223, 81%, 14%)
HSVhsv(223, 89%, 26%)
CMYKcmyk(89.4%, 63.6%, 0%, 74.1%)
CIE-LABlab(9.73, 11.57, -28.61)
CIE-LCHlch(9.73, 30.86, 292.02°)
OKLaboklab(22.6% -0.0088 -0.0826)
OKLCHoklch(22.6% 0.083 264)
XYZxyz(1.3973, 1.0916, 5.2903)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071842 #423107
analogous
#073642 #071842 #140742
triadic
#071842 #420718 #184207
tetradic
#071842 #420736 #423107 #074214
square
#071842 #420736 #423107 #074214
split-complementary
#071842 #421407 #364207
monochromatic
#030A1C #030A1C #071842 #0D2C79 #1340B1

Accessibility & contrast

On white

17.24
#071842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#071842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071842
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071842#FFFFFF#000000##FFFFFF
##0718421.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #071842;
/* rgb */ color: rgb(7, 24, 66);
/* oklch */ color: oklch(22.6% 0.083 264.0);
Tailwind
colors: {
  custom: {
    50: '#525477',
    500: '#071842',
    950: '#000000',
  },
}
SCSS
$custom: #071842;
$custom-light: #525477;
$custom-dark: #000000;
JSON
{
  "hex": "#071842",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 222.712,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.226,
    "c": 0.08307,
    "h": 264
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#071842
secondary
#816624
accent
#BE31F7
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071842

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

Preview Lab → · Contrast checker → · Palette generator →

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