#3848C1#3848C1

#3848C1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.188 H 271.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3848C1
RGBrgb(56, 72, 193)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(71%, 62.7%, 0%, 24.3%)
CIE-LABlab(36.60, 34.60, -65.16)
CIE-LCHlch(36.60, 73.78, 297.97°)
OKLaboklab(46.72% 0.004 -0.1882)
OKLCHoklch(46.72% 0.188 271.2)
XYZxyz(13.5706, 9.3244, 51.5263)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848C1 #C1B138
analogous
#388DC1 #3848C1 #6D38C1
triadic
#3848C1 #C13848 #48C138
tetradic
#3848C1 #C1388D #C1B138 #38C16D
square
#3848C1 #C1388D #C1B138 #38C16D
split-complementary
#3848C1 #C16D38 #8DC138
monochromatic
#1C2562 #2A3692 #3848C1 #6471D2 #949CE0

Accessibility & contrast

On white

7.33
#3848C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3848C1
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848C1#FFFFFF#000000##FFFFFF
##3848C11.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3848c1;
/* rgb */ color: rgb(56, 72, 193);
/* oklch */ color: oklch(46.7% 0.188 271.2);
Tailwind
colors: {
  custom: {
    50: '#817bd5',
    500: '#3848c1',
    950: '#000000',
  },
}
SCSS
$custom: #3848c1;
$custom-light: #817bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3848c1",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 232.993,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4672,
    "c": 0.18821,
    "h": 271.2
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#3848C1
secondary
#CBC38A
accent
#CD49DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3848C1

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

Preview Lab → · Contrast checker → · Palette generator →

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