#031C47#031C47

#031C47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.087 H 259.9°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#031C47
RGBrgb(3, 28, 71)
HSLhsl(218, 92%, 15%)
HSVhsv(218, 96%, 28%)
CMYKcmyk(95.8%, 60.6%, 0%, 72.2%)
CIE-LABlab(11.31, 10.16, -29.56)
CIE-LCHlch(11.31, 31.26, 288.97°)
OKLaboklab(23.88% -0.0153 -0.0854)
OKLCHoklch(23.88% 0.087 259.9)
XYZxyz(1.5897, 1.3046, 6.1280)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C47 #472E03
analogous
#033E47 #031C47 #0C0347
triadic
#031C47 #47031C #1C4703
tetradic
#031C47 #47033E #472E03 #03470C
square
#031C47 #47033E #472E03 #03470C
split-complementary
#031C47 #470C03 #3E4703
monochromatic
#010C1D #010C1D #031C47 #053382 #084ABC

Accessibility & contrast

On white

16.65
#031C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#031C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C47
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C47#FFFFFF#000000##FFFFFF
##031C471.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031c47;
/* rgb */ color: rgb(3, 28, 71);
/* oklch */ color: oklch(23.9% 0.087 259.9);
Tailwind
colors: {
  custom: {
    50: '#52577b',
    500: '#031c47',
    950: '#000000',
  },
}
SCSS
$custom: #031c47;
$custom-light: #52577b;
$custom-dark: #000000;
JSON
{
  "hex": "#031c47",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 217.941,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23881,
    "c": 0.08676,
    "h": 259.9
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#031C47
secondary
#88611E
accent
#B029FF
background
#F5F5F7
surface
#E8E9EE
border
#C4C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #031C47

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

Preview Lab → · Contrast checker → · Palette generator →

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