#3849B2#3849B2

#3849B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.167 H 271.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3849B2
RGBrgb(56, 73, 178)
HSLhsl(232, 52%, 46%)
HSVhsv(232, 69%, 70%)
CMYKcmyk(68.5%, 59%, 0%, 30.2%)
CIE-LABlab(35.63, 28.60, -57.91)
CIE-LCHlch(35.63, 64.59, 296.28°)
OKLaboklab(45.63% 0.0035 -0.1669)
OKLCHoklch(45.63% 0.167 271.2)
XYZxyz(12.0466, 8.8190, 43.1782)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3849B2 #B2A138
analogous
#3886B2 #3849B2 #6438B2
triadic
#3849B2 #B23849 #49B238
tetradic
#3849B2 #B23886 #B2A138 #38B264
square
#3849B2 #B23886 #B2A138 #38B264
split-complementary
#3849B2 #B26438 #86B238
monochromatic
#1B2355 #293683 #3849B2 #5C6BCC #8A95DA

Accessibility & contrast

On white

7.60
#3849B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3849B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3849B2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3849B2#FFFFFF#000000##FFFFFF
##3849B21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3849b2;
/* rgb */ color: rgb(56, 73, 178);
/* oklch */ color: oklch(45.6% 0.167 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e7bca',
    500: '#3849b2',
    950: '#000000',
  },
}
SCSS
$custom: #3849b2;
$custom-light: #7e7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3849b2",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 231.639,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.16692,
    "h": 271.2
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#3849B2
secondary
#C5BB81
accent
#C84CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3849B2

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

Preview Lab → · Contrast checker → · Palette generator →

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