#071027#071027

#071027 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.0% C 0.049 H 265.2°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#071027
RGBrgb(7, 16, 39)
HSLhsl(223, 70%, 9%)
HSVhsv(223, 82%, 15%)
CMYKcmyk(82.1%, 59%, 0%, 84.7%)
CIE-LABlab(5.08, 4.29, -16.37)
CIE-LCHlch(5.08, 16.93, 284.67°)
OKLaboklab(17.97% -0.0041 -0.0491)
OKLCHoklch(17.97% 0.049 265.2)
XYZxyz(0.6390, 0.5622, 1.9939)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071027 #271E07
analogous
#072027 #071027 #0E0727
triadic
#071027 #270710 #102707
tetradic
#071027 #270720 #271E07 #07270E
square
#071027 #270720 #271E07 #07270E
split-complementary
#071027 #270E07 #202707
monochromatic
#050B1A #050B1A #071027 #10255B #1A3B8F

Accessibility & contrast

On white

18.88
#071027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#071027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071027
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071027#FFFFFF#000000##FFFFFF
##0710271.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051328
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #071027;
/* rgb */ color: rgb(7, 16, 39);
/* oklch */ color: oklch(18.0% 0.049 265.2);
Tailwind
colors: {
  custom: {
    50: '#4a4e61',
    500: '#071027',
    950: '#000000',
  },
}
SCSS
$custom: #071027;
$custom-light: #4a4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#071027",
  "rgb": {
    "r": 7,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 223.125,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17971,
    "c": 0.04924,
    "h": 265.2
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#071027
secondary
#665423
accent
#BB3BEC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #071027

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

Preview Lab → · Contrast checker → · Palette generator →

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