#3841C3#3841C3

#3841C3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.199 H 272.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3841C3
RGBrgb(56, 65, 195)
HSLhsl(236, 55%, 49%)
HSVhsv(236, 71%, 76%)
CMYKcmyk(71.3%, 66.7%, 0%, 23.5%)
CIE-LABlab(35.12, 39.67, -68.75)
CIE-LCHlch(35.12, 79.38, 299.98°)
OKLaboklab(45.69% 0.0085 -0.1987)
OKLCHoklch(45.69% 0.199 272.5)
XYZxyz(13.3682, 8.5601, 52.5669)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841C3 #C3BA38
analogous
#3887C3 #3841C3 #7538C3
triadic
#3841C3 #C33841 #41C338
tetradic
#3841C3 #C33887 #C3BA38 #38C375
square
#3841C3 #C33887 #C3BA38 #38C375
split-complementary
#3841C3 #C37538 #87C338
monochromatic
#1D2164 #2A3193 #3841C3 #656CD3 #959AE1

Accessibility & contrast

On white

7.74
#3841C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3841C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841C3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841C3#FFFFFF#000000##FFFFFF
##3841C31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3841c3;
/* rgb */ color: rgb(56, 65, 195);
/* oklch */ color: oklch(45.7% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#8276d6',
    500: '#3841c3',
    950: '#000000',
  },
}
SCSS
$custom: #3841c3;
$custom-light: #8276d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3841c3",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 236.115,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.19891,
    "h": 272.5
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#3841C3
secondary
#CCC88B
accent
#D549DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3841C3

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

Preview Lab → · Contrast checker → · Palette generator →

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