#3848C3#3848C3

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

Color values

HEX#3848C3
RGBrgb(56, 72, 195)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(71.3%, 63.1%, 0%, 23.5%)
CIE-LABlab(36.77, 35.31, -66.06)
CIE-LCHlch(36.77, 74.90, 298.13°)
OKLaboklab(46.9% 0.0039 -0.1908)
OKLCHoklch(46.9% 0.191 271.2)
XYZxyz(13.7952, 9.4142, 52.7093)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3848C3 #C3B338
analogous
#388DC3 #3848C3 #6E38C3
triadic
#3848C3 #C33848 #48C338
tetradic
#3848C3 #C3388D #C3B338 #38C36E
square
#3848C3 #C3388D #C3B338 #38C36E
split-complementary
#3848C3 #C36E38 #8DC338
monochromatic
#1D2564 #2A3693 #3848C3 #6572D3 #959EE1

Accessibility & contrast

On white

7.28
#3848C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3848C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3848C3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3848C3#FFFFFF#000000##FFFFFF
##3848C31.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3848c3;
/* rgb */ color: rgb(56, 72, 195);
/* oklch */ color: oklch(46.9% 0.191 271.2);
Tailwind
colors: {
  custom: {
    50: '#817bd6',
    500: '#3848c3',
    950: '#000000',
  },
}
SCSS
$custom: #3848c3;
$custom-light: #817bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3848c3",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 233.094,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.19083,
    "h": 271.2
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3848C3

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

Preview Lab → · Contrast checker → · Palette generator →

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