#3845C4#3845C4

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

Color values

HEX#3845C4
RGBrgb(56, 69, 196)
HSLhsl(234, 56%, 49%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(71.4%, 64.8%, 0%, 23.1%)
CIE-LABlab(36.14, 37.54, -67.67)
CIE-LCHlch(36.14, 77.39, 299.02°)
OKLaboklab(46.46% 0.0059 -0.1955)
OKLCHoklch(46.46% 0.196 271.7)
XYZxyz(13.7194, 9.0811, 53.2437)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845C4 #C4B738
analogous
#388BC4 #3845C4 #7138C4
triadic
#3845C4 #C43845 #45C438
tetradic
#3845C4 #C4388B #C4B738 #38C471
square
#3845C4 #C4388B #C4B738 #38C471
split-complementary
#3845C4 #C47138 #8BC438
monochromatic
#1D2365 #2A3494 #3845C4 #6670D3 #969DE1

Accessibility & contrast

On white

7.46
#3845C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3845C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845C4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845C4#FFFFFF#000000##FFFFFF
##3845C41.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3845c4;
/* rgb */ color: rgb(56, 69, 196);
/* oklch */ color: oklch(46.5% 0.196 271.7);
Tailwind
colors: {
  custom: {
    50: '#8279d7',
    500: '#3845c4',
    950: '#000000',
  },
}
SCSS
$custom: #3845c4;
$custom-light: #8279d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3845c4",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 234.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.19563,
    "h": 271.7
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#3845C4
secondary
#CCC68C
accent
#D149DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3845C4

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

Preview Lab → · Contrast checker → · Palette generator →

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