#031631#031631

#031631 is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.060 H 256.4°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#031631
RGBrgb(3, 22, 49)
HSLhsl(215, 88%, 10%)
HSVhsv(215, 94%, 19%)
CMYKcmyk(93.9%, 55.1%, 0%, 80.8%)
CIE-LABlab(7.36, 4.25, -20.24)
CIE-LCHlch(7.36, 20.68, 281.85°)
OKLaboklab(20.24% -0.0141 -0.0582)
OKLCHoklch(20.24% 0.06 256.4)
XYZxyz(0.8786, 0.8148, 3.0161)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031631 #311E03
analogous
#032D31 #031631 #070331
triadic
#031631 #310316 #163103
tetradic
#031631 #31032D #311E03 #033107
square
#031631 #31032D #311E03 #033107
split-complementary
#031631 #310703 #2D3103
monochromatic
#020D1D #020D1D #031631 #07306B #0A4AA4

Accessibility & contrast

On white

18.06
#031631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031631
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031631#FFFFFF#000000##FFFFFF
##0316311.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081932
Deuteranopia (green-blind)
#011430
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031631;
/* rgb */ color: rgb(3, 22, 49);
/* oklch */ color: oklch(20.2% 0.060 256.4);
Tailwind
colors: {
  custom: {
    50: '#4b5269',
    500: '#031631',
    950: '#000000',
  },
}
SCSS
$custom: #031631;
$custom-light: #4b5269;
$custom-dark: #000000;
JSON
{
  "hex": "#031631",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 215.217,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20244,
    "c": 0.0599,
    "h": 256.4
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#031631
secondary
#74501B
accent
#A629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031631

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

Preview Lab → · Contrast checker → · Palette generator →

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