#070631#070631

#070631 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.082 H 274.1°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#070631
RGBrgb(7, 6, 49)
HSLhsl(241, 78%, 11%)
HSVhsv(241, 88%, 19%)
CMYKcmyk(85.7%, 87.8%, 0%, 80.8%)
CIE-LABlab(3.59, 13.50, -26.26)
CIE-LCHlch(3.59, 29.53, 297.20°)
OKLaboklab(16.62% 0.0058 -0.082)
OKLCHoklch(16.62% 0.082 274.1)
XYZxyz(0.7069, 0.3971, 2.9445)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070631 #303106
analogous
#061A31 #070631 #1C0631
triadic
#070631 #310706 #063107
tetradic
#070631 #31061A #303106 #06311C
square
#070631 #31061A #303106 #06311C
split-complementary
#070631 #311C06 #1A3106
monochromatic
#04031B #04031B #070631 #0F0D68 #17139E

Accessibility & contrast

On white

19.46
#070631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#070631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070631
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070631#FFFFFF#000000##FFFFFF
##0706311.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000B30
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #070631;
/* rgb */ color: rgb(7, 6, 49);
/* oklch */ color: oklch(16.6% 0.082 274.1);
Tailwind
colors: {
  custom: {
    50: '#4c4969',
    500: '#070631',
    950: '#000000',
  },
}
SCSS
$custom: #070631;
$custom-light: #4c4969;
$custom-dark: #000000;
JSON
{
  "hex": "#070631",
  "rgb": {
    "r": 7,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 241.395,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16624,
    "c": 0.08224,
    "h": 274.1
  },
  "luminance": 0.00397
}

Semantic roles & 50–950 ramp

primary
#070631
secondary
#707221
accent
#F533F0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #070631

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

Preview Lab → · Contrast checker → · Palette generator →

#070631 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva