#070F36#070F36

#070F36 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.077 H 268.6°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#070F36
RGBrgb(7, 15, 54)
HSLhsl(230, 77%, 12%)
HSVhsv(230, 87%, 21%)
CMYKcmyk(87%, 72.2%, 0%, 78.8%)
CIE-LABlab(5.90, 12.32, -26.24)
CIE-LCHlch(5.90, 28.98, 295.16°)
OKLaboklab(19.21% -0.0018 -0.0769)
OKLCHoklch(19.21% 0.077 268.6)
XYZxyz(0.9241, 0.6531, 3.5667)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F36 #362E07
analogous
#072736 #070F36 #170736
triadic
#070F36 #36070F #0F3607
tetradic
#070F36 #360727 #362E07 #073617
square
#070F36 #360727 #362E07 #073617
split-complementary
#070F36 #361707 #273607
monochromatic
#04081B #04081B #070F36 #0E1E6C #152DA2

Accessibility & contrast

On white

18.57
#070F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#070F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F36
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F36#FFFFFF#000000##FFFFFF
##070F361.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#001920
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #070f36;
/* rgb */ color: rgb(7, 15, 54);
/* oklch */ color: oklch(19.2% 0.077 268.6);
Tailwind
colors: {
  custom: {
    50: '#4f4d6d',
    500: '#070f36',
    950: '#000000',
  },
}
SCSS
$custom: #070f36;
$custom-light: #4f4d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#070f36",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 229.787,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19206,
    "c": 0.0769,
    "h": 268.6
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#070F36
secondary
#766823
accent
#D334F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070F36

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

Preview Lab → · Contrast checker → · Palette generator →

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