#071835#071835

#071835 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.4% C 0.062 H 260.1°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#071835
RGBrgb(7, 24, 53)
HSLhsl(218, 77%, 12%)
HSVhsv(218, 87%, 21%)
CMYKcmyk(86.8%, 54.7%, 0%, 79.2%)
CIE-LABlab(8.61, 5.49, -21.13)
CIE-LCHlch(8.61, 21.83, 284.58°)
OKLaboklab(21.39% -0.0106 -0.0606)
OKLCHoklch(21.39% 0.062 260.1)
XYZxyz(1.0566, 0.9554, 3.4962)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071835 #352407
analogous
#072F35 #071835 #0D0735
triadic
#071835 #350718 #183507
tetradic
#071835 #35072F #352407 #07350D
square
#071835 #35072F #352407 #07350D
split-complementary
#071835 #350D07 #2F3507
monochromatic
#040C1B #040C1B #071835 #0E306B #1549A1

Accessibility & contrast

On white

17.63
#071835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#071835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071835
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071835#FFFFFF#000000##FFFFFF
##0718351.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071835;
/* rgb */ color: rgb(7, 24, 53);
/* oklch */ color: oklch(21.4% 0.062 260.1);
Tailwind
colors: {
  custom: {
    50: '#4e546c',
    500: '#071835',
    950: '#000000',
  },
}
SCSS
$custom: #071835;
$custom-light: #4e546c;
$custom-dark: #000000;
JSON
{
  "hex": "#071835",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 217.826,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21393,
    "c": 0.06151,
    "h": 260.1
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#071835
secondary
#755723
accent
#AD35F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071835

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

Preview Lab → · Contrast checker → · Palette generator →

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