#031C46#031C46

#031C46 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.085 H 259.6°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#031C46
RGBrgb(3, 28, 70)
HSLhsl(218, 92%, 14%)
HSVhsv(218, 96%, 27%)
CMYKcmyk(95.7%, 60%, 0%, 72.5%)
CIE-LABlab(11.22, 9.69, -29.01)
CIE-LCHlch(11.22, 30.59, 288.47°)
OKLaboklab(23.79% -0.0154 -0.0838)
OKLCHoklch(23.79% 0.085 259.6)
XYZxyz(1.5579, 1.2919, 5.9604)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C46 #462D03
analogous
#033E46 #031C46 #0C0346
triadic
#031C46 #46031C #1C4603
tetradic
#031C46 #46033E #462D03 #03460C
square
#031C46 #46033E #462D03 #03460C
split-complementary
#031C46 #460C03 #3E4603
monochromatic
#010C1D #010C1D #031C46 #063381 #084BBB

Accessibility & contrast

On white

16.69
#031C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031C46
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C46#FFFFFF#000000##FFFFFF
##031C461.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031c46;
/* rgb */ color: rgb(3, 28, 70);
/* oklch */ color: oklch(23.8% 0.085 259.6);
Tailwind
colors: {
  custom: {
    50: '#52577a',
    500: '#031c46',
    950: '#000000',
  },
}
SCSS
$custom: #031c46;
$custom-light: #52577a;
$custom-dark: #000000;
JSON
{
  "hex": "#031c46",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 217.612,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23785,
    "c": 0.08519,
    "h": 259.6
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#031C46
secondary
#87601D
accent
#AF29FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #031C46

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

Preview Lab → · Contrast checker → · Palette generator →

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