#031E46#031E46

#031E46 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.082 H 258.1°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#031E46
RGBrgb(3, 30, 70)
HSLhsl(216, 92%, 14%)
HSVhsv(216, 96%, 27%)
CMYKcmyk(95.7%, 57.1%, 0%, 72.5%)
CIE-LABlab(11.89, 8.11, -27.92)
CIE-LCHlch(11.89, 29.08, 286.20°)
OKLaboklab(24.3% -0.0169 -0.0805)
OKLCHoklch(24.3% 0.082 258.1)
XYZxyz(1.6069, 1.3899, 5.9767)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E46 #462B03
analogous
#034046 #031E46 #0A0346
triadic
#031E46 #46031E #1E4603
tetradic
#031E46 #460340 #462B03 #03460A
square
#031E46 #460340 #462B03 #03460A
split-complementary
#031E46 #460A03 #404603
monochromatic
#010D1D #010D1D #031E46 #063781 #0850BB

Accessibility & contrast

On white

16.43
#031E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031E46
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E46#FFFFFF#000000##FFFFFF
##031E461.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042247
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #031e46;
/* rgb */ color: rgb(3, 30, 70);
/* oklch */ color: oklch(24.3% 0.082 258.1);
Tailwind
colors: {
  custom: {
    50: '#52597a',
    500: '#031e46',
    950: '#000000',
  },
}
SCSS
$custom: #031e46;
$custom-light: #52597a;
$custom-dark: #000000;
JSON
{
  "hex": "#031e46",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 215.821,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24298,
    "c": 0.08228,
    "h": 258.1
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#031E46
secondary
#875D1D
accent
#A929FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #031E46

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

Preview Lab → · Contrast checker → · Palette generator →

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