#3846C5#3846C5

#3846C5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.196 H 271.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3846C5
RGBrgb(56, 70, 197)
HSLhsl(234, 56%, 50%)
HSVhsv(234, 72%, 77%)
CMYKcmyk(71.6%, 64.5%, 0%, 22.7%)
CIE-LABlab(36.46, 37.27, -67.73)
CIE-LCHlch(36.46, 77.30, 298.82°)
OKLaboklab(46.72% 0.0051 -0.1957)
OKLCHoklch(46.72% 0.196 271.5)
XYZxyz(13.8957, 9.2509, 53.8658)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846C5 #C5B738
analogous
#388CC5 #3846C5 #7138C5
triadic
#3846C5 #C53846 #46C538
tetradic
#3846C5 #C5388C #C5B738 #38C571
square
#3846C5 #C5388C #C5B738 #38C571
split-complementary
#3846C5 #C57138 #8CC538
monochromatic
#1D2466 #2A3595 #3846C5 #6771D4 #969EE1

Accessibility & contrast

On white

7.37
#3846C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3846C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846C5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846C5#FFFFFF#000000##FFFFFF
##3846C51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3846c5;
/* rgb */ color: rgb(56, 70, 197);
/* oklch */ color: oklch(46.7% 0.196 271.5);
Tailwind
colors: {
  custom: {
    50: '#8279d8',
    500: '#3846c5',
    950: '#000000',
  },
}
SCSS
$custom: #3846c5;
$custom-light: #8279d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3846c5",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 234.043,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46724,
    "c": 0.19576,
    "h": 271.5
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#3846C5
secondary
#CDC68C
accent
#D049DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3846C5

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

Preview Lab → · Contrast checker → · Palette generator →

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