#3845BE#3845BE

#3845BE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.188 H 271.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#3845BE
RGBrgb(56, 69, 190)
HSLhsl(234, 54%, 48%)
HSVhsv(234, 71%, 75%)
CMYKcmyk(70.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(35.62, 35.44, -65.01)
CIE-LCHlch(35.62, 74.04, 298.60°)
OKLaboklab(45.92% 0.0062 -0.1877)
OKLCHoklch(45.92% 0.188 271.9)
XYZxyz(13.0501, 8.8134, 49.7186)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845BE #BEB138
analogous
#3888BE #3845BE #6E38BE
triadic
#3845BE #BE3845 #45BE38
tetradic
#3845BE #BE3888 #BEB138 #38BE6E
square
#3845BE #BE3888 #BEB138 #38BE6E
split-complementary
#3845BE #BE6E38 #88BE38
monochromatic
#1C235F #2A348F #3845BE #626DD1 #9299DF

Accessibility & contrast

On white

7.60
#3845BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3845BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845BE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845BE#FFFFFF#000000##FFFFFF
##3845BE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3845be;
/* rgb */ color: rgb(56, 69, 190);
/* oklch */ color: oklch(45.9% 0.188 271.9);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3845be',
    950: '#000000',
  },
}
SCSS
$custom: #3845be;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3845be",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 234.179,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.18783,
    "h": 271.9
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#3845BE
secondary
#CAC388
accent
#CF4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3845BE

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

Preview Lab → · Contrast checker → · Palette generator →

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