#031A46#031A46

#031A46 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.088 H 260.8°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#031A46
RGBrgb(3, 26, 70)
HSLhsl(219, 92%, 14%)
HSVhsv(219, 96%, 27%)
CMYKcmyk(95.7%, 62.9%, 0%, 72.5%)
CIE-LABlab(10.56, 11.28, -30.08)
CIE-LCHlch(10.56, 32.13, 290.55°)
OKLaboklab(23.28% -0.014 -0.087)
OKLCHoklch(23.28% 0.088 260.8)
XYZxyz(1.5120, 1.2001, 5.9451)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A46 #462F03
analogous
#033C46 #031A46 #0E0346
triadic
#031A46 #46031A #1A4603
tetradic
#031A46 #46033C #462F03 #03460E
square
#031A46 #46033C #462F03 #03460E
split-complementary
#031A46 #460E03 #3C4603
monochromatic
#010B1D #010B1D #031A46 #063081 #0846BB

Accessibility & contrast

On white

16.94
#031A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#031A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A46
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A46#FFFFFF#000000##FFFFFF
##031A461.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031a46;
/* rgb */ color: rgb(3, 26, 70);
/* oklch */ color: oklch(23.3% 0.088 260.8);
Tailwind
colors: {
  custom: {
    50: '#52557a',
    500: '#031a46',
    950: '#000000',
  },
}
SCSS
$custom: #031a46;
$custom-light: #52557a;
$custom-dark: #000000;
JSON
{
  "hex": "#031a46",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 219.403,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23284,
    "c": 0.0881,
    "h": 260.8
  },
  "luminance": 0.012
}

Semantic roles & 50–950 ramp

primary
#031A46
secondary
#87631D
accent
#B529FF
background
#F4F4F7
surface
#E8E8ED
border
#C4C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #031A46

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

Preview Lab → · Contrast checker → · Palette generator →

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