#070F3A#070F3A

#070F3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.083 H 268.7°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#070F3A
RGBrgb(7, 15, 58)
HSLhsl(231, 78%, 13%)
HSVhsv(231, 88%, 23%)
CMYKcmyk(87.9%, 74.1%, 0%, 77.3%)
CIE-LABlab(6.25, 14.44, -28.57)
CIE-LCHlch(6.25, 32.01, 296.81°)
OKLaboklab(19.65% -0.0019 -0.0834)
OKLCHoklch(19.65% 0.083 268.7)
XYZxyz(1.0219, 0.6922, 4.0819)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F3A #3A3207
analogous
#07283A #070F3A #18073A
triadic
#070F3A #3A070F #0F3A07
tetradic
#070F3A #3A0728 #3A3207 #073A18
square
#070F3A #3A0728 #3A3207 #073A18
split-complementary
#070F3A #3A1807 #283A07
monochromatic
#03071B #03071B #070F3A #0E1D71 #142BA7

Accessibility & contrast

On white

18.45
#070F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#070F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F3A
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F3A#FFFFFF#000000##FFFFFF
##070F3A1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001139
Tritanopia (blue-blind)
#001A22
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #070f3a;
/* rgb */ color: rgb(7, 15, 58);
/* oklch */ color: oklch(19.7% 0.083 268.7);
Tailwind
colors: {
  custom: {
    50: '#504d71',
    500: '#070f3a',
    950: '#000000',
  },
}
SCSS
$custom: #070f3a;
$custom-light: #504d71;
$custom-dark: #000000;
JSON
{
  "hex": "#070f3a",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 230.588,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.1965,
    "c": 0.08338,
    "h": 268.7
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#070F3A
secondary
#796C23
accent
#D733F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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