#3149B3#3149B3

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

Color values

HEX#3149B3
RGBrgb(49, 73, 179)
HSLhsl(229, 57%, 45%)
HSVhsv(229, 73%, 70%)
CMYKcmyk(72.6%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.34, 28.00, -58.99)
CIE-LCHlch(35.34, 65.30, 295.39°)
OKLaboklab(45.33% -0.0035 -0.1702)
OKLCHoklch(45.33% 0.17 268.8)
XYZxyz(11.7830, 8.6715, 43.6919)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B3 #B39B31
analogous
#318AB3 #3149B3 #5A31B3
triadic
#3149B3 #B33149 #49B331
tetradic
#3149B3 #B3318A #B39B31 #31B35A
square
#3149B3 #B3318A #B39B31 #31B35A
split-complementary
#3149B3 #B35A31 #8AB331
monochromatic
#172253 #243583 #3149B3 #5269D0 #8293DD

Accessibility & contrast

On white

7.68
#3149B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3149B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3149B3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149B3#FFFFFF#000000##FFFFFF
##3149B31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3149b3;
/* rgb */ color: rgb(49, 73, 179);
/* oklch */ color: oklch(45.3% 0.170 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b7bcb',
    500: '#3149b3',
    950: '#000000',
  },
}
SCSS
$custom: #3149b3;
$custom-light: #7b7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b3",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 228.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.17025,
    "h": 268.8
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#3149B3
secondary
#C6B87A
accent
#C448E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3149B3

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

Preview Lab → · Contrast checker → · Palette generator →

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