#3848C2#3848C2

#3848C2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.190 H 271.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3848C2
RGBrgb(56, 72, 194)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(71.1%, 62.9%, 0%, 23.9%)
CIE-LABlab(36.69, 34.95, -65.61)
CIE-LCHlch(36.69, 74.34, 298.05°)
OKLaboklab(46.81% 0.0039 -0.1895)
OKLCHoklch(46.81% 0.19 271.2)
XYZxyz(13.6826, 9.3692, 52.1158)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848C2 #C2B238
analogous
#388DC2 #3848C2 #6D38C2
triadic
#3848C2 #C23848 #48C238
tetradic
#3848C2 #C2388D #C2B238 #38C26D
square
#3848C2 #C2388D #C2B238 #38C26D
split-complementary
#3848C2 #C26D38 #8DC238
monochromatic
#1D2563 #2A3693 #3848C2 #6571D2 #949DE0

Accessibility & contrast

On white

7.31
#3848C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3848C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848C2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848C2#FFFFFF#000000##FFFFFF
##3848C21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3848c2;
/* rgb */ color: rgb(56, 72, 194);
/* oklch */ color: oklch(46.8% 0.190 271.2);
Tailwind
colors: {
  custom: {
    50: '#817bd5',
    500: '#3848c2',
    950: '#000000',
  },
}
SCSS
$custom: #3848c2;
$custom-light: #817bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3848c2",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 233.043,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46808,
    "c": 0.18952,
    "h": 271.2
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#3848C2
secondary
#CBC48A
accent
#CD49DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3848C2

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

Preview Lab → · Contrast checker → · Palette generator →

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