#3849BA#3849BA

#3849BA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.178 H 271.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3849BA
RGBrgb(56, 73, 186)
HSLhsl(232, 54%, 47%)
HSVhsv(232, 70%, 73%)
CMYKcmyk(69.9%, 60.8%, 0%, 27.1%)
CIE-LABlab(36.27, 31.47, -61.60)
CIE-LCHlch(36.27, 69.17, 297.06°)
OKLaboklab(46.3% 0.0034 -0.1777)
OKLCHoklch(46.3% 0.178 271.1)
XYZxyz(12.8734, 9.1498, 47.5325)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3849BA #BAA938
analogous
#388ABA #3849BA #6838BA
triadic
#3849BA #BA3849 #49BA38
tetradic
#3849BA #BA388A #BAA938 #38BA68
square
#3849BA #BA388A #BAA938 #38BA68
split-complementary
#3849BA #BA6838 #8ABA38
monochromatic
#1C245C #2A378B #3849BA #606FCF #8F99DD

Accessibility & contrast

On white

7.42
#3849BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3849BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3849BA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3849BA#FFFFFF#000000##FFFFFF
##3849BA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3849ba;
/* rgb */ color: rgb(56, 73, 186);
/* oklch */ color: oklch(46.3% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f7bd0',
    500: '#3849ba',
    950: '#000000',
  },
}
SCSS
$custom: #3849ba;
$custom-light: #7f7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3849ba",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 232.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.17772,
    "h": 271.1
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#3849BA
secondary
#C8BF86
accent
#CA4BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3849BA

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

Preview Lab → · Contrast checker → · Palette generator →

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