#3848C6#3848C6

#3848C6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.195 H 271.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#3848C6
RGBrgb(56, 72, 198)
HSLhsl(233, 56%, 50%)
HSVhsv(233, 72%, 78%)
CMYKcmyk(71.7%, 63.6%, 0%, 22.4%)
CIE-LABlab(37.02, 36.37, -67.39)
CIE-LCHlch(37.02, 76.57, 298.35°)
OKLaboklab(47.16% 0.0037 -0.1947)
OKLCHoklch(47.16% 0.195 271.1)
XYZxyz(14.1378, 9.5513, 54.5136)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848C6 #C6B638
analogous
#388FC6 #3848C6 #6F38C6
triadic
#3848C6 #C63848 #48C638
tetradic
#3848C6 #C6388F #C6B638 #38C66F
square
#3848C6 #C6388F #C6B638 #38C66F
split-complementary
#3848C6 #C66F38 #8FC638
monochromatic
#1D2567 #2B3796 #3848C6 #6773D4 #979FE2

Accessibility & contrast

On white

7.22
#3848C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3848C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848C6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848C6#FFFFFF#000000##FFFFFF
##3848C61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3848c6;
/* rgb */ color: rgb(56, 72, 198);
/* oklch */ color: oklch(47.2% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#827bd8',
    500: '#3848c6',
    950: '#000000',
  },
}
SCSS
$custom: #3848c6;
$custom-light: #827bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3848c6",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 198
  },
  "hsl": {
    "h": 233.239,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.19473,
    "h": 271.1
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#3848C6
secondary
#CDC68D
accent
#CE49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3848C6

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

Preview Lab → · Contrast checker → · Palette generator →

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