#031D47#031D47

#031D47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.1% C 0.085 H 259.2°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#031D47
RGBrgb(3, 29, 71)
HSLhsl(217, 92%, 15%)
HSVhsv(217, 96%, 28%)
CMYKcmyk(95.8%, 59.2%, 0%, 72.2%)
CIE-LABlab(11.64, 9.37, -29.02)
CIE-LCHlch(11.64, 30.50, 287.90°)
OKLaboklab(24.13% -0.016 -0.0838)
OKLCHoklch(24.13% 0.085 259.2)
XYZxyz(1.6138, 1.3528, 6.1361)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D47 #472D03
analogous
#033F47 #031D47 #0B0347
triadic
#031D47 #47031D #1D4703
tetradic
#031D47 #47033F #472D03 #03470B
square
#031D47 #47033F #472D03 #03470B
split-complementary
#031D47 #470B03 #3F4703
monochromatic
#010C1D #010C1D #031D47 #053582 #084DBC

Accessibility & contrast

On white

16.53
#031D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#031D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031D47
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D47#FFFFFF#000000##FFFFFF
##031D471.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #031d47;
/* rgb */ color: rgb(3, 29, 71);
/* oklch */ color: oklch(24.1% 0.085 259.2);
Tailwind
colors: {
  custom: {
    50: '#52587b',
    500: '#031d47',
    950: '#000000',
  },
}
SCSS
$custom: #031d47;
$custom-light: #52587b;
$custom-dark: #000000;
JSON
{
  "hex": "#031d47",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 217.059,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24134,
    "c": 0.0853,
    "h": 259.2
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#031D47
secondary
#885F1E
accent
#AD29FF
background
#F5F5F7
surface
#E8E9EE
border
#C4C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #031D47

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

Preview Lab → · Contrast checker → · Palette generator →

#031D47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva