#3841D7#3841D7

#3841D7 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.224 H 271.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3841D7
RGBrgb(56, 65, 215)
HSLhsl(237, 67%, 53%)
HSVhsv(237, 74%, 84%)
CMYKcmyk(74%, 69.8%, 0%, 15.7%)
CIE-LABlab(36.98, 46.47, -77.31)
CIE-LCHlch(36.98, 90.20, 301.01°)
OKLaboklab(47.6% 0.0063 -0.2237)
OKLCHoklch(47.6% 0.224 271.6)
XYZxyz(15.7828, 9.5260, 65.2837)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841D7 #D7CE38
analogous
#3890D7 #3841D7 #7E38D7
triadic
#3841D7 #D73841 #41D738
tetradic
#3841D7 #D73890 #D7CE38 #38D77E
square
#3841D7 #D73890 #D7CE38 #38D77E
split-complementary
#3841D7 #D77E38 #90D738
monochromatic
#191E7C #232BAF #3841D7 #6B72E1 #9EA2EB

Accessibility & contrast

On white

7.23
#3841D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3841D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841D7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841D7#FFFFFF#000000##FFFFFF
##3841D71.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3841d7;
/* rgb */ color: rgb(56, 65, 215);
/* oklch */ color: oklch(47.6% 0.224 271.6);
Tailwind
colors: {
  custom: {
    50: '#8676e5',
    500: '#3841d7',
    950: '#000000',
  },
}
SCSS
$custom: #3841d7;
$custom-light: #8676e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3841d7",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 236.604,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.2238,
    "h": 271.6
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#3841D7
secondary
#D8D493
accent
#E03EE9
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3841D7

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

Preview Lab → · Contrast checker → · Palette generator →

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