#3149BA#3149BA

#3149BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.180 H 268.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3149BA
RGBrgb(49, 73, 186)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 74%, 73%)
CMYKcmyk(73.7%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.91, 30.58, -62.20)
CIE-LCHlch(35.91, 69.31, 296.18°)
OKLaboklab(45.93% -0.0035 -0.1796)
OKLCHoklch(45.93% 0.18 268.9)
XYZxyz(12.5090, 8.9619, 47.5154)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149BA #BAA231
analogous
#318DBA #3149BA #5D31BA
triadic
#3149BA #BA3149 #49BA31
tetradic
#3149BA #BA318D #BAA231 #31BA5D
square
#3149BA #BA318D #BAA231 #31BA5D
split-complementary
#3149BA #BA5D31 #8DBA31
monochromatic
#172359 #24368A #3149BA #566CD2 #8696DF

Accessibility & contrast

On white

7.52
#3149BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3149BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3149BA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149BA#FFFFFF#000000##FFFFFF
##3149BA1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3149ba;
/* rgb */ color: rgb(49, 73, 186);
/* oklch */ color: oklch(45.9% 0.180 268.9);
Tailwind
colors: {
  custom: {
    50: '#7d7bd0',
    500: '#3149ba',
    950: '#000000',
  },
}
SCSS
$custom: #3149ba;
$custom-light: #7d7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3149ba",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 229.489,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.17965,
    "h": 268.9
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#3149BA
secondary
#C9BC7E
accent
#C646E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3149BA

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

Preview Lab → · Contrast checker → · Palette generator →

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