#3846B7#3846B7

#3846B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.177 H 271.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3846B7
RGBrgb(56, 70, 183)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 72%)
CMYKcmyk(69.4%, 61.7%, 0%, 28.2%)
CIE-LABlab(35.28, 32.32, -61.45)
CIE-LCHlch(35.28, 69.43, 297.74°)
OKLaboklab(45.49% 0.0058 -0.1773)
OKLCHoklch(45.49% 0.177 271.9)
XYZxyz(12.3654, 8.6388, 45.8064)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846B7 #B7A938
analogous
#3886B7 #3846B7 #6A38B7
triadic
#3846B7 #B73846 #46B738
tetradic
#3846B7 #B73886 #B7A938 #38B76A
square
#3846B7 #B73886 #B7A938 #38B76A
split-complementary
#3846B7 #B76A38 #86B738
monochromatic
#1B2259 #2A3488 #3846B7 #5E6BCE #8D96DC

Accessibility & contrast

On white

7.70
#3846B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3846B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846B7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846B7#FFFFFF#000000##FFFFFF
##3846B71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3846b7;
/* rgb */ color: rgb(56, 70, 183);
/* oklch */ color: oklch(45.5% 0.177 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f79ce',
    500: '#3846b7',
    950: '#000000',
  },
}
SCSS
$custom: #3846b7;
$custom-light: #7f79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3846b7",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 233.386,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.17737,
    "h": 271.9
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3846B7

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

Preview Lab → · Contrast checker → · Palette generator →

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