#3848BF#3848BF

#3848BF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.186 H 271.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3848BF
RGBrgb(56, 72, 191)
HSLhsl(233, 55%, 48%)
HSVhsv(233, 71%, 75%)
CMYKcmyk(70.7%, 62.3%, 0%, 25.1%)
CIE-LABlab(36.43, 33.89, -64.27)
CIE-LCHlch(36.43, 72.65, 297.81°)
OKLaboklab(46.54% 0.004 -0.1855)
OKLCHoklch(46.54% 0.186 271.2)
XYZxyz(13.3490, 9.2357, 50.3593)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848BF #BFAF38
analogous
#388BBF #3848BF #6B38BF
triadic
#3848BF #BF3848 #48BF38
tetradic
#3848BF #BF388B #BFAF38 #38BF6B
square
#3848BF #BF388B #BFAF38 #38BF6B
split-complementary
#3848BF #BF6B38 #8BBF38
monochromatic
#1C2460 #2A3690 #3848BF #6370D1 #929BDF

Accessibility & contrast

On white

7.38
#3848BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3848BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848BF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848BF#FFFFFF#000000##FFFFFF
##3848BF1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3848bf;
/* rgb */ color: rgb(56, 72, 191);
/* oklch */ color: oklch(46.5% 0.186 271.2);
Tailwind
colors: {
  custom: {
    50: '#817bd3',
    500: '#3848bf',
    950: '#000000',
  },
}
SCSS
$custom: #3848bf;
$custom-light: #817bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3848bf",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 232.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46545,
    "c": 0.18557,
    "h": 271.2
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#3848BF
secondary
#CAC289
accent
#CC4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3848BF

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

Preview Lab → · Contrast checker → · Palette generator →

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