#070F27#070F27

#070F27 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.051 H 266.8°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#070F27
RGBrgb(7, 15, 39)
HSLhsl(225, 70%, 9%)
HSVhsv(225, 82%, 15%)
CMYKcmyk(82.1%, 61.5%, 0%, 84.7%)
CIE-LABlab(4.82, 4.82, -16.78)
CIE-LCHlch(4.82, 17.46, 286.03°)
OKLaboklab(17.7% -0.0028 -0.0508)
OKLCHoklch(17.7% 0.051 266.8)
XYZxyz(0.6245, 0.5332, 1.9891)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F27 #271F07
analogous
#071F27 #070F27 #0F0727
triadic
#070F27 #27070F #0F2707
tetradic
#070F27 #27071F #271F07 #07270F
square
#070F27 #27071F #271F07 #07270F
split-complementary
#070F27 #270F07 #1F2707
monochromatic
#050A1A #050A1A #070F27 #10235B #1A378F

Accessibility & contrast

On white

18.98
#070F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F27
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F27#FFFFFF#000000##FFFFFF
##070F271.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#010F27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070f27;
/* rgb */ color: rgb(7, 15, 39);
/* oklch */ color: oklch(17.7% 0.051 266.8);
Tailwind
colors: {
  custom: {
    50: '#4a4e61',
    500: '#070f27',
    950: '#000000',
  },
}
SCSS
$custom: #070f27;
$custom-light: #4a4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#070f27",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 225,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17696,
    "c": 0.05087,
    "h": 266.8
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#070F27
secondary
#665623
accent
#C03BEC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #070F27

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

Preview Lab → · Contrast checker → · Palette generator →

#070F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva