#070B38#070B38

#070B38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.086 H 270.7°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#070B38
RGBrgb(7, 11, 56)
HSLhsl(235, 78%, 12%)
HSVhsv(235, 88%, 22%)
CMYKcmyk(87.5%, 80.4%, 0%, 78%)
CIE-LABlab(5.15, 15.44, -28.91)
CIE-LCHlch(5.15, 32.77, 298.10°)
OKLaboklab(18.57% 0.001 -0.0858)
OKLCHoklch(18.57% 0.086 270.7)
XYZxyz(0.9209, 0.5699, 3.8021)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B38 #383407
analogous
#072438 #070B38 #1C0738
triadic
#070B38 #38070B #0B3807
tetradic
#070B38 #380724 #383407 #07381C
square
#070B38 #380724 #383407 #07381C
split-complementary
#070B38 #381C07 #243807
monochromatic
#03051B #03051B #070B38 #0E166E #1520A5

Accessibility & contrast

On white

18.85
#070B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B38
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B38#FFFFFF#000000##FFFFFF
##070B381.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#000F37
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070b38;
/* rgb */ color: rgb(7, 11, 56);
/* oklch */ color: oklch(18.6% 0.086 270.7);
Tailwind
colors: {
  custom: {
    50: '#4f4b6f',
    500: '#070b38',
    950: '#000000',
  },
}
SCSS
$custom: #070b38;
$custom-light: #4f4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#070b38",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 235.102,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18569,
    "c": 0.08581,
    "h": 270.7
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#070B38
secondary
#787123
accent
#E534F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070B38

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

Preview Lab → · Contrast checker → · Palette generator →

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