#070D31#070D31

#070D31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.072 H 270.0°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#070D31
RGBrgb(7, 13, 49)
HSLhsl(231, 75%, 11%)
HSVhsv(231, 86%, 19%)
CMYKcmyk(85.7%, 73.5%, 0%, 80.8%)
CIE-LABlab(5.01, 10.59, -23.98)
CIE-LCHlch(5.01, 26.22, 293.82°)
OKLaboklab(18.19% 0 -0.0716)
OKLCHoklch(18.19% 0.072 270)
XYZxyz(0.7857, 0.5547, 2.9708)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D31 #312B07
analogous
#072231 #070D31 #160731
triadic
#070D31 #31070D #0D3107
tetradic
#070D31 #310722 #312B07 #073116
square
#070D31 #310722 #312B07 #073116
split-complementary
#070D31 #311607 #223107
monochromatic
#04071B #04071B #070D31 #0F1B67 #16299C

Accessibility & contrast

On white

18.90
#070D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070D31
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D31#FFFFFF#000000##FFFFFF
##070D311.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070d31;
/* rgb */ color: rgb(7, 13, 49);
/* oklch */ color: oklch(18.2% 0.072 270.0);
Tailwind
colors: {
  custom: {
    50: '#4d4c69',
    500: '#070d31',
    950: '#000000',
  },
}
SCSS
$custom: #070d31;
$custom-light: #4d4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#070d31",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 231.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18194,
    "c": 0.07162,
    "h": 270
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#070D31
secondary
#716623
accent
#D736F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070D31

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

Preview Lab → · Contrast checker → · Palette generator →

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