#3845C3#3845C3

#3845C3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.194 H 271.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3845C3
RGBrgb(56, 69, 195)
HSLhsl(234, 55%, 49%)
HSVhsv(234, 71%, 76%)
CMYKcmyk(71.3%, 64.6%, 0%, 23.5%)
CIE-LABlab(36.05, 37.19, -67.23)
CIE-LCHlch(36.05, 76.83, 298.95°)
OKLaboklab(46.37% 0.0059 -0.1942)
OKLCHoklch(46.37% 0.194 271.7)
XYZxyz(13.6060, 9.0358, 52.6462)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845C3 #C3B638
analogous
#388BC3 #3845C3 #7038C3
triadic
#3845C3 #C33845 #45C338
tetradic
#3845C3 #C3388B #C3B638 #38C370
square
#3845C3 #C3388B #C3B638 #38C370
split-complementary
#3845C3 #C37038 #8BC338
monochromatic
#1D2364 #2A3493 #3845C3 #6570D3 #959CE1

Accessibility & contrast

On white

7.48
#3845C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3845C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845C3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845C3#FFFFFF#000000##FFFFFF
##3845C31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3845c3;
/* rgb */ color: rgb(56, 69, 195);
/* oklch */ color: oklch(46.4% 0.194 271.7);
Tailwind
colors: {
  custom: {
    50: '#8279d6',
    500: '#3845c3',
    950: '#000000',
  },
}
SCSS
$custom: #3845c3;
$custom-light: #8279d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3845c3",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 234.388,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.19433,
    "h": 271.7
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3845C3

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

Preview Lab → · Contrast checker → · Palette generator →

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