#3848BB#3848BB

#3848BB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.180 H 271.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#3848BB
RGBrgb(56, 72, 187)
HSLhsl(233, 54%, 48%)
HSVhsv(233, 70%, 73%)
CMYKcmyk(70.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(36.10, 32.47, -62.46)
CIE-LCHlch(36.10, 70.39, 297.47°)
OKLaboklab(46.2% 0.0042 -0.1802)
OKLCHoklch(46.2% 0.18 271.3)
XYZxyz(12.9149, 9.0621, 48.0726)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848BB #BBAB38
analogous
#3889BB #3848BB #6A38BB
triadic
#3848BB #BB3848 #48BB38
tetradic
#3848BB #BB3889 #BBAB38 #38BB6A
square
#3848BB #BB3889 #BBAB38 #38BB6A
split-complementary
#3848BB #BB6A38 #89BB38
monochromatic
#1C245D #2A368C #3848BB #616ED0 #9099DE

Accessibility & contrast

On white

7.47
#3848BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3848BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848BB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848BB#FFFFFF#000000##FFFFFF
##3848BB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3848bb;
/* rgb */ color: rgb(56, 72, 187);
/* oklch */ color: oklch(46.2% 0.180 271.3);
Tailwind
colors: {
  custom: {
    50: '#807bd0',
    500: '#3848bb',
    950: '#000000',
  },
}
SCSS
$custom: #3848bb;
$custom-light: #807bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3848bb",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 232.672,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.18028,
    "h": 271.3
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3848BB

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

Preview Lab → · Contrast checker → · Palette generator →

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