#3841C1#3841C1

#3841C1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.196 H 272.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3841C1
RGBrgb(56, 65, 193)
HSLhsl(236, 55%, 49%)
HSVhsv(236, 71%, 76%)
CMYKcmyk(71%, 66.3%, 0%, 24.3%)
CIE-LABlab(34.94, 38.98, -67.88)
CIE-LCHlch(34.94, 78.27, 299.86°)
OKLaboklab(45.51% 0.0087 -0.1962)
OKLCHoklch(45.51% 0.196 272.5)
XYZxyz(13.1436, 8.4703, 51.3840)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841C1 #C1B838
analogous
#3886C1 #3841C1 #7438C1
triadic
#3841C1 #C13841 #41C138
tetradic
#3841C1 #C13886 #C1B838 #38C174
square
#3841C1 #C13886 #C1B838 #38C174
split-complementary
#3841C1 #C17438 #86C138
monochromatic
#1C2162 #2A3192 #3841C1 #646BD2 #9499E0

Accessibility & contrast

On white

7.79
#3841C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3841C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841C1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841C1#FFFFFF#000000##FFFFFF
##3841C11.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3841c1;
/* rgb */ color: rgb(56, 65, 193);
/* oklch */ color: oklch(45.5% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#8276d5',
    500: '#3841c1',
    950: '#000000',
  },
}
SCSS
$custom: #3841c1;
$custom-light: #8276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3841c1",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 236.058,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45507,
    "c": 0.19635,
    "h": 272.5
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#3841C1
secondary
#CBC78A
accent
#D549DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3841C1

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

Preview Lab → · Contrast checker → · Palette generator →

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