#071830#071830

#071830 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.0% C 0.053 H 257.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#071830
RGBrgb(7, 24, 48)
HSLhsl(215, 75%, 11%)
HSVhsv(215, 85%, 19%)
CMYKcmyk(85.4%, 50%, 0%, 81.2%)
CIE-LABlab(8.23, 3.16, -18.10)
CIE-LCHlch(8.23, 18.37, 279.91°)
OKLaboklab(20.98% -0.0118 -0.0517)
OKLCHoklch(20.98% 0.053 257.2)
XYZxyz(0.9476, 0.9117, 2.9218)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071830 #301F07
analogous
#072C30 #071830 #0A0730
triadic
#071830 #300718 #183007
tetradic
#071830 #30072C #301F07 #07300A
square
#071830 #30072C #301F07 #07300A
split-complementary
#071830 #300A07 #2C3007
monochromatic
#040D1B #040D1B #071830 #0F3365 #174D9B

Accessibility & contrast

On white

17.76
#071830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071830
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071830#FFFFFF#000000##FFFFFF
##0718301.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A31
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#001E21
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #071830;
/* rgb */ color: rgb(7, 24, 48);
/* oklch */ color: oklch(21.0% 0.053 257.2);
Tailwind
colors: {
  custom: {
    50: '#4d5468',
    500: '#071830',
    950: '#000000',
  },
}
SCSS
$custom: #071830;
$custom-light: #4d5468;
$custom-dark: #000000;
JSON
{
  "hex": "#071830",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 215.122,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20976,
    "c": 0.05299,
    "h": 257.2
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#071830
secondary
#705023
accent
#A437F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #071830

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

Preview Lab → · Contrast checker → · Palette generator →

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