#031E47#031E47

#031E47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.084 H 258.5°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#031E47
RGBrgb(3, 30, 71)
HSLhsl(216, 92%, 15%)
HSVhsv(216, 96%, 28%)
CMYKcmyk(95.8%, 57.7%, 0%, 72.2%)
CIE-LABlab(11.97, 8.59, -28.48)
CIE-LCHlch(11.97, 29.75, 286.78°)
OKLaboklab(24.39% -0.0167 -0.0822)
OKLCHoklch(24.39% 0.084 258.5)
XYZxyz(1.6387, 1.4026, 6.1444)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E47 #472C03
analogous
#034047 #031E47 #0A0347
triadic
#031E47 #47031E #1E4703
tetradic
#031E47 #470340 #472C03 #03470A
square
#031E47 #470340 #472C03 #03470A
split-complementary
#031E47 #470A03 #404703
monochromatic
#010C1D #010C1D #031E47 #053782 #0850BC

Accessibility & contrast

On white

16.40
#031E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#031E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E47
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E47#FFFFFF#000000##FFFFFF
##031E471.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032348
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #031e47;
/* rgb */ color: rgb(3, 30, 71);
/* oklch */ color: oklch(24.4% 0.084 258.5);
Tailwind
colors: {
  custom: {
    50: '#52597b',
    500: '#031e47',
    950: '#000000',
  },
}
SCSS
$custom: #031e47;
$custom-light: #52597b;
$custom-dark: #000000;
JSON
{
  "hex": "#031e47",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 216.176,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2439,
    "c": 0.08385,
    "h": 258.5
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#031E47
secondary
#885E1E
accent
#AA29FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #031E47

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

Preview Lab → · Contrast checker → · Palette generator →

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