#3848BC#3848BC

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

Color values

HEX#3848BC
RGBrgb(56, 72, 188)
HSLhsl(233, 54%, 48%)
HSVhsv(233, 70%, 74%)
CMYKcmyk(70.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(36.19, 32.82, -62.91)
CIE-LCHlch(36.19, 70.96, 297.55°)
OKLaboklab(46.29% 0.0041 -0.1816)
OKLCHoklch(46.29% 0.182 271.3)
XYZxyz(13.0223, 9.1050, 48.6384)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848BC #BCAC38
analogous
#388ABC #3848BC #6A38BC
triadic
#3848BC #BC3848 #48BC38
tetradic
#3848BC #BC388A #BCAC38 #38BC6A
square
#3848BC #BC388A #BCAC38 #38BC6A
split-complementary
#3848BC #BC6A38 #8ABC38
monochromatic
#1C245E #2A368D #3848BC #616FD0 #909ADE

Accessibility & contrast

On white

7.44
#3848BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3848BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848BC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848BC#FFFFFF#000000##FFFFFF
##3848BC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3848bc;
/* rgb */ color: rgb(56, 72, 188);
/* oklch */ color: oklch(46.3% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#807bd1',
    500: '#3848bc',
    950: '#000000',
  },
}
SCSS
$custom: #3848bc;
$custom-light: #807bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3848bc",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 232.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46285,
    "c": 0.18161,
    "h": 271.3
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#3848BC
secondary
#C9C187
accent
#CC4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3848BC

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

Preview Lab → · Contrast checker → · Palette generator →

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