#3845BD#3845BD

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

Color values

HEX#3845BD
RGBrgb(56, 69, 189)
HSLhsl(234, 54%, 48%)
HSVhsv(234, 70%, 74%)
CMYKcmyk(70.4%, 63.5%, 0%, 25.9%)
CIE-LABlab(35.54, 35.08, -64.56)
CIE-LCHlch(35.54, 73.47, 298.52°)
OKLaboklab(45.83% 0.0063 -0.1864)
OKLCHoklch(45.83% 0.187 271.9)
XYZxyz(12.9412, 8.7699, 49.1450)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845BD #BDB038
analogous
#3888BD #3845BD #6D38BD
triadic
#3845BD #BD3845 #45BD38
tetradic
#3845BD #BD3888 #BDB038 #38BD6D
square
#3845BD #BD3888 #BDB038 #38BD6D
split-complementary
#3845BD #BD6D38 #88BD38
monochromatic
#1C235F #2A348E #3845BD #626DD0 #9199DE

Accessibility & contrast

On white

7.62
#3845BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3845BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845BD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845BD#FFFFFF#000000##FFFFFF
##3845BD1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3845bd;
/* rgb */ color: rgb(56, 69, 189);
/* oklch */ color: oklch(45.8% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#8078d2',
    500: '#3845bd',
    950: '#000000',
  },
}
SCSS
$custom: #3845bd;
$custom-light: #8078d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3845bd",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 234.135,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.18653,
    "h": 271.9
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3845BD

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

Preview Lab → · Contrast checker → · Palette generator →

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