#3841C4#3841C4

#3841C4 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.8% C 0.200 H 272.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3841C4
RGBrgb(56, 65, 196)
HSLhsl(236, 56%, 49%)
HSVhsv(236, 71%, 77%)
CMYKcmyk(71.4%, 66.8%, 0%, 23.1%)
CIE-LABlab(35.21, 40.01, -69.19)
CIE-LCHlch(35.21, 79.93, 300.04°)
OKLaboklab(45.79% 0.0084 -0.2)
OKLCHoklch(45.79% 0.2 272.4)
XYZxyz(13.4816, 8.6055, 53.1644)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841C4 #C4BB38
analogous
#3887C4 #3841C4 #7538C4
triadic
#3841C4 #C43841 #41C438
tetradic
#3841C4 #C43887 #C4BB38 #38C475
square
#3841C4 #C43887 #C4BB38 #38C475
split-complementary
#3841C4 #C47538 #87C438
monochromatic
#1D2165 #2A3194 #3841C4 #666DD3 #969AE1

Accessibility & contrast

On white

7.72
#3841C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3841C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841C4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841C4#FFFFFF#000000##FFFFFF
##3841C41.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3841c4;
/* rgb */ color: rgb(56, 65, 196);
/* oklch */ color: oklch(45.8% 0.200 272.4);
Tailwind
colors: {
  custom: {
    50: '#8276d7',
    500: '#3841c4',
    950: '#000000',
  },
}
SCSS
$custom: #3841c4;
$custom-light: #8276d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3841c4",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 236.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.20018,
    "h": 272.4
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#3841C4
secondary
#CCC88C
accent
#D549DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3841C4

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

Preview Lab → · Contrast checker → · Palette generator →

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