#3149B4#3149B4

#3149B4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.172 H 268.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3149B4
RGBrgb(49, 73, 180)
HSLhsl(229, 57%, 45%)
HSVhsv(229, 73%, 71%)
CMYKcmyk(72.8%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.42, 28.37, -59.45)
CIE-LCHlch(35.42, 65.88, 295.51°)
OKLaboklab(45.42% -0.0035 -0.1716)
OKLCHoklch(45.42% 0.172 268.8)
XYZxyz(11.8845, 8.7121, 44.2264)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B4 #B49C31
analogous
#318AB4 #3149B4 #5B31B4
triadic
#3149B4 #B43149 #49B431
tetradic
#3149B4 #B4318A #B49C31 #31B45B
square
#3149B4 #B4318A #B49C31 #31B45B
split-complementary
#3149B4 #B45B31 #8AB431
monochromatic
#172254 #243584 #3149B4 #5269D0 #8293DD

Accessibility & contrast

On white

7.66
#3149B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3149B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3149B4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149B4#FFFFFF#000000##FFFFFF
##3149B41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3149b4;
/* rgb */ color: rgb(49, 73, 180);
/* oklch */ color: oklch(45.4% 0.172 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b7bcb',
    500: '#3149b4',
    950: '#000000',
  },
}
SCSS
$custom: #3149b4;
$custom-light: #7b7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b4",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 229.008,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.1716,
    "h": 268.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#3149B4
secondary
#C6B87B
accent
#C447E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3149B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3149B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva