#3841C5#3841C5

#3841C5 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 45.9% C 0.201 H 272.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3841C5
RGBrgb(56, 65, 197)
HSLhsl(236, 56%, 50%)
HSVhsv(236, 72%, 77%)
CMYKcmyk(71.6%, 67%, 0%, 22.7%)
CIE-LABlab(35.30, 40.35, -69.63)
CIE-LCHlch(35.30, 80.48, 300.10°)
OKLaboklab(45.88% 0.0083 -0.2013)
OKLCHoklch(45.88% 0.201 272.4)
XYZxyz(13.5958, 8.6512, 53.7658)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841C5 #C5BC38
analogous
#3888C5 #3841C5 #7538C5
triadic
#3841C5 #C53841 #41C538
tetradic
#3841C5 #C53888 #C5BC38 #38C575
square
#3841C5 #C53888 #C5BC38 #38C575
split-complementary
#3841C5 #C57538 #88C538
monochromatic
#1D2266 #2A3195 #3841C5 #676ED4 #969BE1

Accessibility & contrast

On white

7.69
#3841C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3841C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841C5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841C5#FFFFFF#000000##FFFFFF
##3841C51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3841c5;
/* rgb */ color: rgb(56, 65, 197);
/* oklch */ color: oklch(45.9% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#8276d8',
    500: '#3841c5',
    950: '#000000',
  },
}
SCSS
$custom: #3841c5;
$custom-light: #8276d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3841c5",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 236.17,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.20145,
    "h": 272.4
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3841C5

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

Preview Lab → · Contrast checker → · Palette generator →

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