#3845C5#3845C5

#3845C5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.197 H 271.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3845C5
RGBrgb(56, 69, 197)
HSLhsl(234, 56%, 50%)
HSVhsv(234, 72%, 77%)
CMYKcmyk(71.6%, 65%, 0%, 22.7%)
CIE-LABlab(36.23, 37.89, -68.11)
CIE-LCHlch(36.23, 77.94, 299.09°)
OKLaboklab(46.55% 0.0058 -0.1968)
OKLCHoklch(46.55% 0.197 271.7)
XYZxyz(13.8336, 9.1268, 53.8451)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845C5 #C5B838
analogous
#388CC5 #3845C5 #7238C5
triadic
#3845C5 #C53845 #45C538
tetradic
#3845C5 #C5388C #C5B838 #38C572
square
#3845C5 #C5388C #C5B838 #38C572
split-complementary
#3845C5 #C57238 #8CC538
monochromatic
#1D2466 #2A3495 #3845C5 #6771D4 #969DE1

Accessibility & contrast

On white

7.43
#3845C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3845C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845C5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845C5#FFFFFF#000000##FFFFFF
##3845C51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3845c5;
/* rgb */ color: rgb(56, 69, 197);
/* oklch */ color: oklch(46.6% 0.197 271.7);
Tailwind
colors: {
  custom: {
    50: '#8279d8',
    500: '#3845c5',
    950: '#000000',
  },
}
SCSS
$custom: #3845c5;
$custom-light: #8279d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3845c5",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 234.468,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.19691,
    "h": 271.7
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#3845C5
secondary
#CDC78C
accent
#D149DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3845C5

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

Preview Lab → · Contrast checker → · Palette generator →

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