#071331#071331

#071331 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.062 H 264.5°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#071331
RGBrgb(7, 19, 49)
HSLhsl(223, 75%, 11%)
HSVhsv(223, 86%, 19%)
CMYKcmyk(85.7%, 61.2%, 0%, 80.8%)
CIE-LABlab(6.62, 7.29, -21.41)
CIE-LCHlch(6.62, 22.62, 288.80°)
OKLaboklab(19.69% -0.0059 -0.062)
OKLCHoklch(19.69% 0.062 264.5)
XYZxyz(0.8747, 0.7326, 3.0004)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071331 #312507
analogous
#072831 #071331 #100731
triadic
#071331 #310713 #133107
tetradic
#071331 #310728 #312507 #073110
square
#071331 #310728 #312507 #073110
split-complementary
#071331 #311007 #283107
monochromatic
#040A1B #040A1B #071331 #0F2867 #163D9C

Accessibility & contrast

On white

18.32
#071331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#071331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071331
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071331#FFFFFF#000000##FFFFFF
##0713311.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071331;
/* rgb */ color: rgb(7, 19, 49);
/* oklch */ color: oklch(19.7% 0.062 264.5);
Tailwind
colors: {
  custom: {
    50: '#4d5069',
    500: '#071331',
    950: '#000000',
  },
}
SCSS
$custom: #071331;
$custom-light: #4d5069;
$custom-dark: #000000;
JSON
{
  "hex": "#071331",
  "rgb": {
    "r": 7,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 222.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19692,
    "c": 0.06227,
    "h": 264.5
  },
  "luminance": 0.00733
}

Semantic roles & 50–950 ramp

primary
#071331
secondary
#715B23
accent
#BC36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #071331

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

Preview Lab → · Contrast checker → · Palette generator →

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