#070F31#070F31

#070F31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.069 H 268.4°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#070F31
RGBrgb(7, 15, 49)
HSLhsl(229, 75%, 11%)
HSVhsv(229, 86%, 19%)
CMYKcmyk(85.7%, 69.4%, 0%, 80.8%)
CIE-LABlab(5.50, 9.60, -23.21)
CIE-LCHlch(5.50, 25.11, 292.46°)
OKLaboklab(18.67% -0.0019 -0.0685)
OKLCHoklch(18.67% 0.069 268.4)
XYZxyz(0.8126, 0.6085, 2.9798)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F31 #312907
analogous
#072431 #070F31 #140731
triadic
#070F31 #31070F #0F3107
tetradic
#070F31 #310724 #312907 #073114
square
#070F31 #310724 #312907 #073114
split-complementary
#070F31 #311407 #243107
monochromatic
#04081B #04081B #070F31 #0F1F67 #16309C

Accessibility & contrast

On white

18.72
#070F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F31
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F31#FFFFFF#000000##FFFFFF
##070F311.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#00171E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #070f31;
/* rgb */ color: rgb(7, 15, 49);
/* oklch */ color: oklch(18.7% 0.069 268.4);
Tailwind
colors: {
  custom: {
    50: '#4d4d69',
    500: '#070f31',
    950: '#000000',
  },
}
SCSS
$custom: #070f31;
$custom-light: #4d4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#070f31",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 228.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18673,
    "c": 0.06854,
    "h": 268.4
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#070F31
secondary
#716223
accent
#CE36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070F31

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

Preview Lab → · Contrast checker → · Palette generator →

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