#3848BA#3848BA

#3848BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.179 H 271.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3848BA
RGBrgb(56, 72, 186)
HSLhsl(233, 54%, 47%)
HSVhsv(233, 70%, 73%)
CMYKcmyk(69.9%, 61.3%, 0%, 27.1%)
CIE-LABlab(36.02, 32.11, -62.00)
CIE-LCHlch(36.02, 69.83, 297.38°)
OKLaboklab(46.11% 0.0042 -0.1789)
OKLCHoklch(46.11% 0.179 271.3)
XYZxyz(12.8082, 9.0194, 47.5108)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848BA #BAAA38
analogous
#3889BA #3848BA #6938BA
triadic
#3848BA #BA3848 #48BA38
tetradic
#3848BA #BA3889 #BAAA38 #38BA69
square
#3848BA #BA3889 #BAAA38 #38BA69
split-complementary
#3848BA #BA6938 #89BA38
monochromatic
#1C245C #2A368B #3848BA #606ECF #8F99DD

Accessibility & contrast

On white

7.49
#3848BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3848BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848BA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848BA#FFFFFF#000000##FFFFFF
##3848BA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.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: #3848ba;
/* rgb */ color: rgb(56, 72, 186);
/* oklch */ color: oklch(46.1% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#7f7bd0',
    500: '#3848ba',
    950: '#000000',
  },
}
SCSS
$custom: #3848ba;
$custom-light: #7f7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3848ba",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 232.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.17895,
    "h": 271.3
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#3848BA
secondary
#C8C086
accent
#CB4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3848BA

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

Preview Lab → · Contrast checker → · Palette generator →

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