#3841B3#3841B3

#3841B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.178 H 273.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3841B3
RGBrgb(56, 65, 179)
HSLhsl(236, 52%, 46%)
HSVhsv(236, 69%, 70%)
CMYKcmyk(68.7%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.72, 34.09, -61.63)
CIE-LCHlch(33.72, 70.43, 298.95°)
OKLaboklab(44.24% 0.0097 -0.1778)
OKLCHoklch(44.24% 0.178 273.1)
XYZxyz(11.6551, 7.8749, 43.5449)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841B3 #B3AA38
analogous
#387EB3 #3841B3 #6C38B3
triadic
#3841B3 #B33841 #41B338
tetradic
#3841B3 #B3387E #B3AA38 #38B36C
square
#3841B3 #B3387E #B3AA38 #38B36C
split-complementary
#3841B3 #B36C38 #7EB338
monochromatic
#1B1F56 #293084 #3841B3 #5C64CC #8B91DB

Accessibility & contrast

On white

8.15
#3841B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3841B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841B3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841B3#FFFFFF#000000##FFFFFF
##3841B31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3841b3;
/* rgb */ color: rgb(56, 65, 179);
/* oklch */ color: oklch(44.2% 0.178 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e75cb',
    500: '#3841b3',
    950: '#000000',
  },
}
SCSS
$custom: #3841b3;
$custom-light: #7e75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3841b3",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 235.61,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44237,
    "c": 0.17812,
    "h": 273.1
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#3841B3
secondary
#C5C082
accent
#D14CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3841B3

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

Preview Lab → · Contrast checker → · Palette generator →

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