#031B46#031B46

#031B46 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.087 H 260.2°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#031B46
RGBrgb(3, 27, 70)
HSLhsl(219, 92%, 14%)
HSVhsv(219, 96%, 27%)
CMYKcmyk(95.7%, 61.4%, 0%, 72.5%)
CIE-LABlab(10.89, 10.48, -29.55)
CIE-LCHlch(10.89, 31.35, 289.53°)
OKLaboklab(23.53% -0.0147 -0.0854)
OKLCHoklch(23.53% 0.087 260.2)
XYZxyz(1.5346, 1.2452, 5.9526)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B46 #462E03
analogous
#033D46 #031B46 #0C0346
triadic
#031B46 #46031B #1B4603
tetradic
#031B46 #46033D #462E03 #03460C
square
#031B46 #46033D #462E03 #03460C
split-complementary
#031B46 #460C03 #3D4603
monochromatic
#010B1D #010B1D #031B46 #063281 #0848BB

Accessibility & contrast

On white

16.81
#031B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#031B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B46
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B46#FFFFFF#000000##FFFFFF
##031B461.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031b46;
/* rgb */ color: rgb(3, 27, 70);
/* oklch */ color: oklch(23.5% 0.087 260.2);
Tailwind
colors: {
  custom: {
    50: '#52567a',
    500: '#031b46',
    950: '#000000',
  },
}
SCSS
$custom: #031b46;
$custom-light: #52567a;
$custom-dark: #000000;
JSON
{
  "hex": "#031b46",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 218.507,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23533,
    "c": 0.08664,
    "h": 260.2
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#031B46
secondary
#87611D
accent
#B229FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #031B46

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

Preview Lab → · Contrast checker → · Palette generator →

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