#070431#070431

#070431 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.086 H 275.0°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#070431
RGBrgb(7, 4, 49)
HSLhsl(244, 85%, 10%)
HSVhsv(244, 92%, 19%)
CMYKcmyk(85.7%, 91.8%, 0%, 80.8%)
CIE-LABlab(3.19, 14.30, -26.89)
CIE-LCHlch(3.19, 30.45, 298.00°)
OKLaboklab(16.14% 0.0075 -0.0853)
OKLCHoklch(16.14% 0.086 275)
XYZxyz(0.6852, 0.3537, 2.9373)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070431 #2E3104
analogous
#041731 #070431 #1D0431
triadic
#070431 #310704 #043107
tetradic
#070431 #310417 #2E3104 #04311D
square
#070431 #310417 #2E3104 #04311D
split-complementary
#070431 #311D04 #173104
monochromatic
#04021C #04021C #070431 #0F096A #170DA2

Accessibility & contrast

On white

19.61
#070431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#070431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070431
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070431#FFFFFF#000000##FFFFFF
##0704311.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070431;
/* rgb */ color: rgb(7, 4, 49);
/* oklch */ color: oklch(16.1% 0.086 275.0);
Tailwind
colors: {
  custom: {
    50: '#4c4869',
    500: '#070431',
    950: '#000000',
  },
}
SCSS
$custom: #070431;
$custom-light: #4c4869;
$custom-dark: #000000;
JSON
{
  "hex": "#070431",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 244,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16136,
    "c": 0.08566,
    "h": 275
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#070431
secondary
#6E731D
accent
#FB2DED
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #070431

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

Preview Lab → · Contrast checker → · Palette generator →

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