#3146A4#3146A4

#3146A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.153 H 269.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3146A4
RGBrgb(49, 70, 164)
HSLhsl(229, 54%, 42%)
HSVhsv(229, 70%, 64%)
CMYKcmyk(70.1%, 57.3%, 0%, 35.7%)
CIE-LABlab(33.38, 24.43, -53.25)
CIE-LCHlch(33.38, 58.59, 294.64°)
OKLaboklab(43.5% -0.0015 -0.1534)
OKLCHoklch(43.5% 0.153 269.4)
XYZxyz(10.1553, 7.7126, 36.0683)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146A4 #A48F31
analogous
#3180A4 #3146A4 #5531A4
triadic
#3146A4 #A43146 #46A431
tetradic
#3146A4 #A43180 #A48F31 #31A455
square
#3146A4 #A43180 #A48F31 #31A455
split-complementary
#3146A4 #A45531 #80A431
monochromatic
#151E46 #233275 #3146A4 #4961C9 #798AD7

Accessibility & contrast

On white

8.26
#3146A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3146A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146A4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146A4#FFFFFF#000000##FFFFFF
##3146A41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3146a4;
/* rgb */ color: rgb(49, 70, 164);
/* oklch */ color: oklch(43.5% 0.153 269.4);
Tailwind
colors: {
  custom: {
    50: '#7879c0',
    500: '#3146a4',
    950: '#000000',
  },
}
SCSS
$custom: #3146a4;
$custom-light: #7879c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3146a4",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 229.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43496,
    "c": 0.15338,
    "h": 269.4
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#3146A4
secondary
#BFB172
accent
#C34ADD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3146A4

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

Preview Lab → · Contrast checker → · Palette generator →

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