#3846A6#3846A6

#3846A6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.154 H 272.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3846A6
RGBrgb(56, 70, 166)
HSLhsl(232, 50%, 44%)
HSVhsv(232, 66%, 65%)
CMYKcmyk(66.3%, 57.8%, 0%, 34.9%)
CIE-LABlab(33.93, 26.24, -53.54)
CIE-LCHlch(33.93, 59.62, 296.11°)
OKLaboklab(44.06% 0.0059 -0.154)
OKLCHoklch(44.06% 0.154 272.2)
XYZxyz(10.7017, 7.9733, 37.0440)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846A6 #A69838
analogous
#387DA6 #3846A6 #6138A6
triadic
#3846A6 #A63846 #46A638
tetradic
#3846A6 #A6387D #A69838 #38A661
square
#3846A6 #A6387D #A69838 #38A661
split-complementary
#3846A6 #A66138 #7DA638
monochromatic
#191F4A #293378 #3846A6 #5564C6 #838ED5

Accessibility & contrast

On white

8.09
#3846A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3846A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846A6
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846A6#FFFFFF#000000##FFFFFF
##3846A61.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3846a6;
/* rgb */ color: rgb(56, 70, 166);
/* oklch */ color: oklch(44.1% 0.154 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b79c1',
    500: '#3846a6',
    950: '#000000',
  },
}
SCSS
$custom: #3846a6;
$custom-light: #7b79c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3846a6",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 166
  },
  "hsl": {
    "h": 232.364,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44062,
    "c": 0.15416,
    "h": 272.2
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#3846A6
secondary
#BFB67B
accent
#C74FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3846A6

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

Preview Lab → · Contrast checker → · Palette generator →

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