#3146BA#3146BA

#3146BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.183 H 269.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3146BA
RGBrgb(49, 70, 186)
HSLhsl(231, 58%, 46%)
HSVhsv(231, 74%, 73%)
CMYKcmyk(73.7%, 62.4%, 0%, 27.1%)
CIE-LABlab(35.16, 32.52, -63.43)
CIE-LCHlch(35.16, 71.28, 297.14°)
OKLaboklab(45.38% -0.0014 -0.1833)
OKLCHoklch(45.38% 0.183 269.6)
XYZxyz(12.3167, 8.5772, 47.4513)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146BA #BAA531
analogous
#318ABA #3146BA #6031BA
triadic
#3146BA #BA3146 #46BA31
tetradic
#3146BA #BA318A #BAA531 #31BA60
square
#3146BA #BA318A #BAA531 #31BA60
split-complementary
#3146BA #BA6031 #8ABA31
monochromatic
#172259 #24348A #3146BA #5669D2 #8694DF

Accessibility & contrast

On white

7.73
#3146BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3146BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146BA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146BA#FFFFFF#000000##FFFFFF
##3146BA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3146ba;
/* rgb */ color: rgb(49, 70, 186);
/* oklch */ color: oklch(45.4% 0.183 269.6);
Tailwind
colors: {
  custom: {
    50: '#7d79d0',
    500: '#3146ba',
    950: '#000000',
  },
}
SCSS
$custom: #3146ba;
$custom-light: #7d79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3146ba",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 230.803,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.18327,
    "h": 269.6
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#3146BA
secondary
#C9BD7E
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3146BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3146BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva