#3846C2#3846C2

#3846C2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.192 H 271.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3846C2
RGBrgb(56, 70, 194)
HSLhsl(234, 55%, 49%)
HSVhsv(234, 71%, 76%)
CMYKcmyk(71.1%, 63.9%, 0%, 23.9%)
CIE-LABlab(36.20, 36.21, -66.40)
CIE-LCHlch(36.20, 75.63, 298.61°)
OKLaboklab(46.46% 0.0053 -0.1918)
OKLCHoklch(46.46% 0.192 271.6)
XYZxyz(13.5554, 9.1148, 52.0734)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846C2 #C2B438
analogous
#388BC2 #3846C2 #6F38C2
triadic
#3846C2 #C23846 #46C238
tetradic
#3846C2 #C2388B #C2B438 #38C26F
square
#3846C2 #C2388B #C2B438 #38C26F
split-complementary
#3846C2 #C26F38 #8BC238
monochromatic
#1D2463 #2A3593 #3846C2 #6570D2 #949CE0

Accessibility & contrast

On white

7.44
#3846C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3846C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846C2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846C2#FFFFFF#000000##FFFFFF
##3846C21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3846c2;
/* rgb */ color: rgb(56, 70, 194);
/* oklch */ color: oklch(46.5% 0.192 271.6);
Tailwind
colors: {
  custom: {
    50: '#8179d5',
    500: '#3846c2',
    950: '#000000',
  },
}
SCSS
$custom: #3846c2;
$custom-light: #8179d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3846c2",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 233.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.19187,
    "h": 271.6
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#3846C2
secondary
#CBC58A
accent
#CF49DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3846C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3846C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva