#070F39#070F39

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

Color values

HEX#070F39
RGBrgb(7, 15, 57)
HSLhsl(230, 78%, 13%)
HSVhsv(230, 88%, 22%)
CMYKcmyk(87.7%, 73.7%, 0%, 77.6%)
CIE-LABlab(6.16, 13.92, -27.99)
CIE-LCHlch(6.16, 31.26, 296.43°)
OKLaboklab(19.54% -0.0019 -0.0818)
OKLCHoklch(19.54% 0.082 268.7)
XYZxyz(0.9967, 0.6821, 3.9492)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F39 #393107
analogous
#072839 #070F39 #180739
triadic
#070F39 #39070F #0F3907
tetradic
#070F39 #390728 #393107 #073918
square
#070F39 #390728 #393107 #073918
split-complementary
#070F39 #391807 #283907
monochromatic
#03071B #03071B #070F39 #0E1D70 #142CA6

Accessibility & contrast

On white

18.48
#070F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070F39
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F39#FFFFFF#000000##FFFFFF
##070F391.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070f39;
/* rgb */ color: rgb(7, 15, 57);
/* oklch */ color: oklch(19.5% 0.082 268.7);
Tailwind
colors: {
  custom: {
    50: '#504d70',
    500: '#070f39',
    950: '#000000',
  },
}
SCSS
$custom: #070f39;
$custom-light: #504d70;
$custom-dark: #000000;
JSON
{
  "hex": "#070f39",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 230.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19538,
    "c": 0.08178,
    "h": 268.7
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#070F39
secondary
#796B23
accent
#D633F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070F39

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

Preview Lab → · Contrast checker → · Palette generator →

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