#3846B9#3846B9

#3846B9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.180 H 271.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3846B9
RGBrgb(56, 70, 185)
HSLhsl(233, 54%, 47%)
HSVhsv(233, 70%, 73%)
CMYKcmyk(69.7%, 62.2%, 0%, 27.5%)
CIE-LABlab(35.44, 33.03, -62.36)
CIE-LCHlch(35.44, 70.57, 297.91°)
OKLaboklab(45.66% 0.0057 -0.1799)
OKLCHoklch(45.66% 0.18 271.8)
XYZxyz(12.5750, 8.7226, 46.9105)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846B9 #B9AB38
analogous
#3887B9 #3846B9 #6A38B9
triadic
#3846B9 #B93846 #46B938
tetradic
#3846B9 #B93887 #B9AB38 #38B96A
square
#3846B9 #B93887 #B9AB38 #38B96A
split-complementary
#3846B9 #B96A38 #87B938
monochromatic
#1C225B #2A348A #3846B9 #5F6CCF #8E97DD

Accessibility & contrast

On white

7.65
#3846B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3846B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846B9
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846B9#FFFFFF#000000##FFFFFF
##3846B91.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3846b9;
/* rgb */ color: rgb(56, 70, 185);
/* oklch */ color: oklch(45.7% 0.180 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f79cf',
    500: '#3846b9',
    950: '#000000',
  },
}
SCSS
$custom: #3846b9;
$custom-light: #7f79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3846b9",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 233.488,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.18004,
    "h": 271.8
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#3846B9
secondary
#C8C085
accent
#CD4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3846B9

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

Preview Lab → · Contrast checker → · Palette generator →

#3846B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva