#3146A5#3146A5

#3146A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.155 H 269.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3146A5
RGBrgb(49, 70, 165)
HSLhsl(229, 54%, 42%)
HSVhsv(229, 70%, 65%)
CMYKcmyk(70.3%, 57.6%, 0%, 35.3%)
CIE-LABlab(33.45, 24.80, -53.73)
CIE-LCHlch(33.45, 59.17, 294.78°)
OKLaboklab(43.58% -0.0015 -0.1548)
OKLCHoklch(43.58% 0.155 269.5)
XYZxyz(10.2460, 7.7489, 36.5457)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146A5 #A59031
analogous
#3180A5 #3146A5 #5631A5
triadic
#3146A5 #A53146 #46A531
tetradic
#3146A5 #A53180 #A59031 #31A556
square
#3146A5 #A53180 #A59031 #31A556
split-complementary
#3146A5 #A55631 #80A531
monochromatic
#151E47 #233276 #3146A5 #4A61C9 #798AD7

Accessibility & contrast

On white

8.24
#3146A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3146A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146A5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146A5#FFFFFF#000000##FFFFFF
##3146A51.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3146a5;
/* rgb */ color: rgb(49, 70, 165);
/* oklch */ color: oklch(43.6% 0.155 269.5);
Tailwind
colors: {
  custom: {
    50: '#7879c0',
    500: '#3146a5',
    950: '#000000',
  },
}
SCSS
$custom: #3146a5;
$custom-light: #7879c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3146a5",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 229.138,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.15478,
    "h": 269.5
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#3146A5
secondary
#C0B272
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3146A5

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

Preview Lab → · Contrast checker → · Palette generator →

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